Small issue with 2.0b
Kemp, Darren
Darren.Kemp at xerox.com
Thu Jan 6 17:20:19 CET 2005
I'm having a rather frustrating issue with NAGIOS 2.0B, running on Sol
9, Apache 2, basically anytime its appending a /nagios/ onto my
default_html_path, so the cgi's are trying to access
/usr/local/nagios/share/nagios to access stylesheets/images etc.
I have double checked the config, locations.h, everything, and can't
figure out where this is coming from.
Just curious if anyone else has come up against this.
Last configure command:
# ./configure --datadir=/usr/local/nagios/share
--prefix=/usr/local/nagios --with-command-group=nagcmd
Apache config:
<VirtualHost X.X.X.X:80>
ServerAdmin blah at blah.com
DocumentRoot /usr/local/nagios/share
ServerName x.x.x
ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/
<Directory /usr/local/nagios/sbin>
AllowOverride AuthConfig
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
<Directory /usr/local/nagios/share>
Options None
AllowOverride AuthConfig
Order allow,deny
Allow from all
</Directory>
ErrorLog "| /usr/local/sbin/cronolog
/var/log/www/nagios/error.%m.%d.%Y.log"
CustomLog "| /usr/local/sbin/cronolog
/var/log/www/nagios/access.%m.%d.%Y.lo
g" combined
</VirtualHost>
Have been running 2.0 earlier versions without issue for months, but
this particular setup is on a new machine.
Thanks in advance
-dkk
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
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