[NTLUG:Discuss] Trailing backslashes

m m llliiilll at hotmail.com
Fri Aug 29 10:21:44 CDT 2003


if you ar erunning Apache server, take a look at the httpd.conf file
there a section describe to avoid this problem
If I remember correctly, you need tp add "/" at document rood directory, 
like this "support/" in your case.

>From: Jack Snodgrass <jack+ntlug at mylinuxguy.net>
>Reply-To: NTLUG Discussion List <discuss at ntlug.org>
>To: NTLUG Discussion List <discuss at ntlug.org>
>Subject: Re: [NTLUG:Discuss] Trailing backslashes
>Date: Fri, 29 Aug 2003 08:27:18 -0500
>
>On Fri, 2003-08-29 at 07:46, 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?
> >
> >
> >  Richard Humphrey
>
>the http spec says something like... if it ends in a '/' it's a
>directory... otherwise it's a file.
>
>So... http://www.mydomain.com/support says to load the file support
>from http://www.mydomain.com. That's not what you want. You want to
>load the index.html ( or whatever ) from the support directory.
>
>Apache ( and other servers ) will redirect a request for a file with
>no extension to a similar url with the '/' appended. It will then load
>the appropriate index.html page.
>
>jack
>
>
>_______________________________________________
>https://ntlug.org/mailman/listinfo/discuss

_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE* 
http://join.msn.com/?page=features/junkmail




More information about the Discuss mailing list