Silvan Calarco
e50dcc68b4
change lock file location from /var/run to /run configure by default to use /etc/nagios/conf.d directory [release 3.5.1-2mamba;Wed May 07 2014]
32 lines
716 B
Plaintext
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>
|