URL path in CGI

Yao, Jack jyao at aav.com.au
Fri Feb 27 00:56:09 CET 2004


Hi Ben ,
 
Done as suggested,  this time the browser point to  <http://_default/nagios>
http://_default/nagios and nothting able to display.
 
What I've done was I added the like "Alias /nagios /usr/local/nagios/share/"
above the other one.
 
so it is now look 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>
 
 
any clues ?
 
ta
 
J

-----Original Message-----
From: Ben Whaley [mailto:benjamin.whaley at colorado.edu] 
Sent: Friday, 27 February 2004 10:46 AM
To: Yao, Jack; Nagios mail user list (nagios-users at lists.sourceforge.net)
Subject: Re: [Nagios-users] URL path in CGI


Try adding the following line to your httpd.conf:

Alias /nagios /usr/local/nagios/share/

... right above (or below) this line: 

Alias /nagios/ /usr/local/nagios/share/

HUP the httpd daemon. That should to the trick.

Regards,
Ben


On 2/26/04 4:31 PM, "Yao, Jack" <jyao at aav.com.au> wrote:



Hi all ,

I am still a newbie to Nagios so my question might not sound deep and all,
so please bear with me a bit. Anyway , I was trying to change the
URL_HTML_Path in the file CGI.CFG and changed the value from "/nagios/" to
be "/nagios" [without double quote].

And I restart nagios and httpd services.

Yet the URL address http://www.[myserver].com/nagios  still not accessible.
It is still using http://www.[myserver].com/nagios/  .
 

Do I miss anything ??

 
ta

Jack

 






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


More information about the Users mailing list