URL path config

Yao, Jack jyao at aav.com.au
Wed Mar 3 03:21:51 CET 2004


Yeah, Thanks Gary. It has all been worked out by your advised about
UseCanonicalName directive previously.  Basically not only I have to put in
the Alias, I also have to turn off the UseCanonicalName directive  so that
Apache will accept that Alias too
 
ta
 
Jack
-----Original Message-----
From: Cook, Garry [mailto:GWCOOK at mactec.com] 
Sent: Tuesday, 2 March 2004 1:42 AM
To: Yao, Jack; nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] URL path config



If you include a trailing slash on the fakename in your alias, it's going to
be required by the server when you attempt to access it. Remove the second
line, restart httpd, and try again.

Garry W. Cook, CCNA
Network Infrastructure Manager
MACTEC, Inc. - http://www.mactec.com/ <http://www.mactec.com/> 
303.308.6228 (Office) - 720.220.1862 (Mobile) 

-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Yao, Jack
Sent: Sunday, February 29, 2004 2:12 PM
To: Nagios mail user list (nagios-users at lists.sourceforge.net)
Subject: [Nagios-users] URL path config


Hi all, 
 
By default Nagios installed with the URL path "/nagios/" in the config.cfg.
After installed, I tried to eidt the pathit to be "/nagios" and edit
httpd.conf during this part below to add "Alias /nagios
/usr/local/nagios/share/"  on top of the original one, so now it looks like
this:

 
Alias /nagios /usr/local/nagios/share/
Alias /nagios/ /usr/local/nagios/share/
<Directory "/usr/local/nagios/share/">
  Options None
  AllowOverride AuthConfig
  Order allow,deny
  Allow from all
</Directory>
 
 
Then I restarted both Nagios service and httpd service, the browser still
complains that "page cannot be displayed" and it could not find the new path
[http://mydomain.com/nagios].   However , the old path
[http://mydomain.com/nagios/] still working as if there was no change made
to the config file.
 
 
Is there anything else I miss here in order to change the URL path ?
 
 
thanks
 
Jack

 
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040303/996550c7/attachment.html>


More information about the Users mailing list