Pakistan Forum
HomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 Path translati

View previous topic View next topic Go down 
AuthorMessage
imagine_raza



Posts : 99
Join date : 2010-07-18

PostSubject: Path translati   Mon Jul 19, 2010 8:26 pm

Web servers are able to map the path component of a Uniform Resource Locator (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.example.com/path/file.html

The client's user agent will translate it into a connection to www.example.com with the following HTTP 1.1 request:

GET /path/file.html HTTP/1.1
Host: www.example.com

The Web server on www.example.com will append the given path to the path of its root directory. On Unix machines, this is commonly /var/www. The result is the local file system resource:

/var/www/path/file.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.
Back to top Go down
View user profile
sadiaali



Posts : 109
Join date : 2012-01-17
Location : Karachi,Pakistan

PostSubject: Re: Path translati   Fri Jan 27, 2012 4:04 am

good thread nd informative thread showing like a class room study nd some instance also mention in this thread.
Back to top Go down
View user profile http://www.talentidols.com
 
Path translati
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» How to open Command prompt by coding in C# having Selenium Rc server path ?
» Setting the path to firefox
» Getting main" org.openqa.selenium.WebDriverException: Cannot find firefox binary in PATH
» When I run the selenium RC script, I am getting Failed to start new browser, Firefox 3 could not be found in the path!
» Xpath Syntax

Permissions in this forum:You cannot reply to topics in this forum
Pakistan Forum :: Webhosting and Domain Hosting :: Webhosting and Domain Hosting-
Jump to:  
Free Web Counter
Free Web Counter
Free forum | © phpBB | Free forum support | Contact | Report an abuse | Free forum