Apache Nagios interface
Stephane Auger
sauger at pre2post.com
Fri Mar 18 22:03:26 CET 2005
One thing you can do is add a second alias, which would look like so:
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>
That way, it'll answer whether or not you add the trailing slash :)
Stephen
-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Daniel
Budde II
Sent: March 18, 2005 3:34 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Apache Nagios interface
Ok, I am able to get Nagios running now without any apparent errors and
I
have Apache running on my system, but when I try to reach
"http://netmonitor.interactivetwist.com/nagios" I just get the 404
error. I
have made the following additions to my "httpd.conf" file.
ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/
<Directory "/usr/local/nagios/sbin/">
AllowOverride AuthConfig
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
Alias /nagios/ /usr/local/nagios/share/
<Directory "/usr/local/nagios/share">
Options None
AllowOverride AuthConfig
Order allow,deny
Allow from all
</Directory>
Here are a few of the settings from my "cgi.cfg" file:
# MAIN CONFIGURATION FILE
main_config_file=/usr/local/nagios/etc/nagios.cfg
# PHYSICAL HTML PATH
physical_html_path=/usr/local/nagios/share
# URL HTML PATH
url_html_path=/nagios
I have installed Nagios in /usr/local/nagios using all the default
instructions. How would I go about debugging this? Is there a
particular
resource that works with getting the nagios interface working with
apache?
Thanks in advance for any help,
Daniel Budde II
Programmer & Network Administrator
Leader Graphic Design
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&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
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&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