[NTLUG:Discuss] Trailing backslashes
Richard Humphrey
richard at multicam.com
Wed Sep 3 07:53:52 CDT 2003
No, not using alias directive. I found some info on the Apache site
regarding the ReWriteEngine directive that talks about the trailing
backslash issue, but when I tried to implement it, I kept getting
errors. This is a standard Redhat /var/www/html/support directory. The
only other thing we are doing is using .htaccess for this directory.
-----Original Message-----
From: discuss-bounces at ntlug.org [mailto:discuss-bounces at ntlug.org] On
Behalf Of David
Sent: Tuesday, September 02, 2003 8:52 PM
To: NTLUG Discussion List
Subject: Re: [NTLUG:Discuss] Trailing backslashes
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
_______________________________________________
https://ntlug.org/mailman/listinfo/discuss
More information about the Discuss
mailing list