projectus.freehost7.com:UG and PG level projects,mini projects and many more here ...



Transition

Web servers are able to map the path component of a  (URL) into:

a local file system resource (for static requests);

an internal or external program name (for dynamic requests).

For a static request the URL path specified by the client is relative to the Web server's root directory.

Consider the following URL as it would be requested by a client:

http://www.cdp.com/Defult.html

 

The client's user agent  will translate it into a connection to www.cdp.comwith the following HTTP request:

GET /Defult.html HTTP/

Host: www.cdp.com

Welcome

The Web server on www.cdp.com will append the given path to the path of its root directory. On an Apache server, this is commonly

/home/www . The result is the local file system resource:

/home/www/cdp/Defult.html

The Web server will then read the file, if it exists, and send a response to the client's Web browser. The response will describe the content of the file and contain the file itself.