[NTLUG:Discuss] Trailing backslashes
David
david at hayes-family.org
Tue Sep 2 20:51:35 CDT 2003
On Fri, Aug 29, 2003 at 07:46:02AM -0500, Richard Humphrey wrote:
> I have a web site that we have created for some of our distributors. For
> some reason if I put in http://www.mydomain.com/support it will not take
> me there. If I type in http://www.mydomain.com/support/ (note trailing
> backslash) it works fine. Is this configurable or does something else
> need to be in place so that http://www.mydomain.com/support will work
> correctly?
Would you by any means be using an Alias to shift the "support"
directory to some other point in the file system tree? If so, be
aware that the Alias directive uses a simple string match. That is,
if you defined it as
Alias /support/ /home/real-support-dir/
then you'll need to use "http://server/support/". Leaving off the
trailing slash won't work, because without the trailing slash the URI
doesn't match the alias that you defined.
--
David Hayes
david at hayes-family.org
More information about the Discuss
mailing list