Forum Moderators: phranque

Message Too Old, No Replies

URL problem.

         

Montezuma45

7:42 pm on Feb 17, 2011 (gmt 0)

10+ Year Member



Server not found

Firefox can't find the server at www.abc.comindex.html.


What would be the cause of the '/' missing between .com & index.html?

jdMorgan

3:41 am on Feb 18, 2011 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Likely some redirection code that was intended for use in a server config file but outside any <Directory> section was used inside a <Directory> section in that config file or was used in a .htaccess file.

The code is different between these two groups of locations because the leading slash on URL-paths won't be present in a <Directory> container specifying a path ending in "/" and it won't be present in .htaccess. When not in a <Directory> section and not in .htaccess, the slash is present in the URL-path seen by the code.

This is all to do with the meaning of "per-directory" context.

Jim