traliing slash in URL path configuration

Ben Goodwin ben at atomicmatrix.net
Sat Mar 6 13:05:32 CET 2004


It must be doing this because there's either no ServerName or a bad
ServerName specified in the virtualhost or main config (depending on how
your apache is set up).  If ServerName is properly set up, UseCanonical
should work fine.  What happens is apache sends the redirect using the
ServerName in the path - and if ServerName's wrong, the browser will get
routed to the wrong place.

	-=| Ben

-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Yao, Jack
Sent: Tuesday, March 02, 2004 7:03 PM
To: 'Cook, Garry'; Nagios mail user list
(nagios-users at lists.sourceforge.net)
Subject: RE: [Nagios-users] traliing slash in URL path configuration

Thanks so much Gary. It is the answer to the whole traliaing slash thing.
UseCanonical directive has to be set to "off" in order to have the Alias
directive to work as it is configured, otherwise Apache will keep sending
the unknown URL to http://_default_/[directory]

Also thanks to everyone that have been very helpful to me as well.

Jack





-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list