[NTLUG:Discuss] Trailing backslashes
Richard Humphrey
richard at multicam.com
Wed Sep 3 12:56:44 CDT 2003
Turning off UseCanonicalName to off did the trick. Thanks for all the
help.
-----Original Message-----
From: discuss-bounces at ntlug.org [mailto:discuss-bounces at ntlug.org] On
Behalf Of Jack Snodgrass
Sent: Wednesday, September 03, 2003 12:47 PM
To: NTLUG Discussion List
Subject: RE: [NTLUG:Discuss] Trailing backslashes
On Wed, 2003-09-03 at 12:35, Richard Humphrey wrote:
> I agree, it should work, it is a default (up2date) RH 7.3 install with
> Apache.
>
> The Document root is /var/www/html
> Mod_dir is loaded
> Servername localhost is commented out
> UseCanonicalName is on
>
>
change UseCanonicalName to Off
restart apache
see if it makes a difference. If not
change UseCanonicalName back to On
and
uncomment ServerName and set it to your server name
restart apache
see if it makes a difference. One of those should do the trick.
jack
>
> -----Original Message-----
> From: discuss-bounces at ntlug.org [mailto:discuss-bounces at ntlug.org] On
> Behalf Of Jack Snodgrass
> Sent: Wednesday, September 03, 2003 10:12 AM
> To: NTLUG Discussion List
> Subject: RE: [NTLUG:Discuss] Trailing backslashes
>
>
> is this thread still going? It's like the energizer bunny. The default
> behavior is supposed to work... if it's not, it may be something else
> configured wrong. You don't need alias or rewrite or anything... it
> just does it automatically.
>
> You can ( if you have server-info enabled ) do
> http://127.0.0.0/server-info
> and see what modules apache loads. It should have mod_dir in there.
You
> have to
> do special things to NOT get that loaded.
>
> You said that you are redirected to a google page or something when
> this breaks. This is a web client thingie... turn of 'smart searching'
> or whatever your client calls so that it will not redirect you to
> google but show you what it really is trying to do. That might help
> figure this problem out.
>
> the config things that effect this behavior ( adding a / to a
> directory
> ) are
> Servername
> and
> UseCanonicalName
>
> if your machine isn't smart enought to know who it is ( or had
> multiple names and addresses etc ) you need to set ServerName to be
> your machine name. This will be returned as part of the response when
> it adds the trailing response.
>
> You also need to set UseCanonicalName On to aid in this.
>
> What are you
> Servername
> UseCanonicalName
> variables set to in the httpd.conf file?
>
> jack
>
>
>
> jack
>
>
> On Wed, 2003-09-03 at 09:19, MadHat wrote:
>
> > On Wed, 2003-09-03 at 07:53, Richard Humphrey wrote:
> > > 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.
> > >
> >
> >
> > Do you have mod_dir installed?
> > That is all it does. I even posted 2 links, one for 1.3 and one for
> > 2.0 Apache. The rewrite engine is overkill for this.
> _______________________________________________
> https://ntlug.org/mailman/listinfo/discuss
>
>
> _______________________________________________
> https://ntlug.org/mailman/listinfo/discuss
>
_______________________________________________
https://ntlug.org/mailman/listinfo/discuss
More information about the Discuss
mailing list