| advertise add site services publishers database health videos | ![]() | about toolbar stats live show health store more stuff JOIN/LOGIN |
to Filesystem Locations - Apache HTTP Server womansportstraining.com | http://www.atlasspinalcare.com - http://www.atlasspinalcare.com atlasspinalcare.com |
The HTTP Location header is used to force a web browser to reload a different web page. It is passed as part of the Server Response by a web server when the requested URL has:
The HTTP Location header should be sent with a HTTP Response Code of 3xx. While the internet standard RFC 1945 (HTTP 1.0) requires a complete URL for redirection[1][2], the most popular web browsers support the passing of a Relative URL as the value for a Location: header.[citation needed]
[edit] ExampleThe internet standard requires an absoluteURI token to follow a Location: header, which means it must contain a scheme (http:// or https://), web server address, and a path of the new web address. Client request: GET /index.html HTTP/1.1 Host: www.example.com Server response: HTTP/1.1 302 Found Location: http://www.wikipedia.org/index.php [edit] Relative URL ExampleThis example, while incorrect based on the internet standard[3], works in all popular browsers.[citation needed] Client request: GET /blog HTTP/1.1 Host: www.example.com Server response: HTTP/1.1 302 Found Location: /blog/ [edit] NotesNot to be confused with JavaScript location variable. [edit] References[edit] See also |
| ↑ top of page ↑ | about thumbshots |