Ok so here is the issue… When I goto login I get a login prompt. I enter the username and password click ok then I get it again, and again,…
I have configured httpd.conf :
ScriptAlias /nagios/cgi-bin/ “/usr/local/nagios/sbin/”
<Directory “/usr/local/nagios/sbin/”>
SSLRequireSSL
Options ExecCGI
AllowOverride AuthConfig
Order allow,deny
Allow from all
Order deny,allow
Deny from all
Allow from 127.0.0.1
Alias /nagios/ “/usr/local/nagios/share/”
<Directory “/usr/local/nagios/share/”>
SSLRequireSSL
Options None
AllowOverride AuthConfig
Order allow,deny
Allow from all
Order deny,allow
Deny from all
Allow from 127.0.0.1
I have configured the .htaccess file in both /sbin and /share folders.
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpasswd.users
require valid-user
II entered the user names as shown in the documentation.
I still cannot login.
I know Nagios works because if I disable security I can access all cgi scripts except cmd.cgi
Any help would be greatly appriciated.