Home > Web Front-end > HTML Tutorial > How are these addresses resolved?

How are these addresses resolved?

PHP中文网
Release: 2016-06-24 12:22:58
Original
1683 people have browsed it

How are these addresses resolved?
When I saw a website, I found their link was like this:
http://www.***.con/message/743a6d161ed6414c8dd0f5b959aa8a5e
I heard that I checked the source code of the web page and found that their hyperlinks were like this:

  • To-do Work

  • I can understand ***.asp?id=1&name=zhang or ***.aspx?id=1&name=zhang
    But the above I don’t understand the link address. How can I find the specific access page in the above link address?
    Thank you very much!

    Web address resolution

    ------Solution--------------------
    http://www.***.con/message/743a6d161ed6414c8dd0f5b959aa8a5e
    re:
    This is server-side url rewriting. Each server (apache, iis, nginx) rewrite rule syntax may have Difference


  • Backlog

  • re:
    This is called address definition. I know that Java is like this. The above href attribute value is divided into
    request address:/message/list. In java, you can add the suffix or omit
    ?catid=18&p=1, the parameter set of GET request
    ------Solution--------------------
    url rewriting: by the server according to the rewriting rules Jump to the actual address

    Address definition: This (/message/list) is the actual address.
    ------Solution--------------------
    The address definition is generally in the configuration file? I don't know how to use .net. Please open all the configurations and take a look. The following is the address definition of java


    ChannelServlet
    com.apobates.servlet.ChannelServlet


    ChannelServlet
    /channel/build< ;/url-pattern>


    The value of url-pattern is.

    In a .net website, how to parse it?
    re:
    To define it, it must be written in accordance with the specifications in a configuration file that can be read by the server. If you want to go deeper, where can you study the architecture of the server?
    ---- --Solution--------------------
    The server I am talking about is also called an application server. Like: IIS, apache, nginx,
    java, there are many:
    tomcat, jboss, sun application server, weblogic,...
    ------Solution--- ------------------
    There is also a web container called
    ------Solution-------- ------------
    Web services will provide an http interception mechanism
    that is, when accessing http, you have the opportunity to process it in advance with your own code or predetermined configuration.
    At this time you can parse the http connection into whatever you want

    Related labels:
    source:php.cn
    Statement of this Website
    The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
    Latest Articles by Author
    Popular Tutorials
    More>
    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template