nagios/nagios.htaccess

32 lines
716 B
Plaintext

ScriptAlias /nagios/cgi-bin "@libdir@/nagios/cgi-bin/"
<Directory "@libdir@/nagios/cgi-bin/">
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/private/htpasswd.users
Require valid-user
</Directory>
Alias /nagios "/usr/share/nagios/html/"
<Directory "/usr/share/nagios/html/">
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/private/htpasswd.users
Require valid-user
</Directory>