Hi
I have recently installed Nagios on a Solaris 10 server. I edited apache's httpd.conf file with this entry:
ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin
<Directory "/usr/local/nagios/sbin">
Options ExecCGI
AllowOverride None
Order allow,deny
Allow from all
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpa
sswd.users
Require valid-user
</Directory>
Alias /nagios /usr/local/nagios/share
<Directory "/usr/local/nagios/share">
Options None
AllowOverride None
Order allow,deny
Allow from all
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpa
sswd.users
Require valid-user
</Directory>
I also edited the cgi.cfg file to allow authentication then used apache htpasswd command to create the htpasswd.users file and create the users.
When I try and access the web interface, I get asked to authenticate and then get this error:
You don't have permission to access /nagios/ on this server.
Please help