hello, I am trying to setup Nagios without root privilege. All the files are under /etc/nagios, including the Apache.
I've had things properly installed but there seem to be configure issues which I can't figure out
this is the error message that I am getting when access
http://localhost/nagios
The requested URL /nagios/< was not found on this server.
Apache log shows
File does not exist: /etc/nagios/nagios-local/share/<, referer:
http://localhost/nagios/
Well, I am 100% sure the file is there. Below is the nagios.conf file which is part of httpd.conf in Apache.
ScriptAlias /nagios/cgi-bin "/etc/nagios/nagios-local/sbin/"
<Directory "/etc/nagios/nagios-local/sbin">
# SSLRequireSSL
Options ExecCGI
AllowOverride None
Order allow,deny
Allow from all
# Order deny,allow
# Deny from all
# Allow from 127.0.0.1
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /etc/nagios/htpasswd.users
Require valid-user
</Directory>
Alias /nagios "/etc/nagios/nagios-local/share/"
<Directory "/etc/nagios/nagios-local/share">
# SSLRequireSSL
Options none
AllowOverride None
Order allow,deny
Allow from all
# Order deny,allow
# Deny from all
# Allow from 127.0.0.1
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /etc/nagios/htpasswd.users
Require valid-user
</Directory>
I've been stuck on this for hours. Thanks for any input.