URL path config

Cook, Garry GWCOOK at mactec.com
Mon Mar 1 15:42:01 CET 2004


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/
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/20040301/cd38390c/attachment.html>


More information about the Users mailing list