On Jan 6, 2008, at 9:07 PM, Robinson Craig wrote:
http://www.nrw.qld.gov.au/vegetation/index.html/templates/headline_temp .php I get the weirdest thing....I actually get a response as if what I was really requesting was: http://www.nrw.qld.gov.au/vegetation/index.htmlIn the htdocs directory structure, /vegetation/index.html is a file nota dir, and there definitely isn't a /vegetation/index.html/templates/headline_temp.php file.
What you'll find is that the remaining part of the URL ('/templates/ headline_temp.php') is passed to the request as pathinfo. A static file (like index.html) can typically not do a whole lot with that information, but a program like a CGI or PHP script can... try making test-cgi in your cgi-bin directory executable and calling http://yourserver/cgi-bin/test-cgi/foo/bar . You'll see the CGI get executed, and an environment variable PATH_INFO is passed in with the /foo/bar bit.
I guess the canonical question is: what is your intention when you request the original URL?
S. -- Sander Temme sctemme@xxxxxxxxxx PGP FP: 51B4 8727 466A 0BC3 69F4 B7B8 B2BE BC40 1529 24AF --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx