URL path config

Yao, Jack jyao at aav.com.au
Tue Mar 2 00:12:21 CET 2004


Hi Gary ,
 
I tried that , but the address http://mydomain.com/nagios
<http://mydomain.com/nagios>    still not working as the browser cannot find
it.  the address that work is still http://mydomain.com/nagios/
<http://mydomain.com/nagios/> 
 
Is there anything else I miss here ?
 
ta
 
J

-----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/20040302/fd44b28d/attachment.html>


More information about the Users mailing list