ScriptAlias /nagios/cgi-bin/ /usr/lib/nagios/cgi/
Alias /nagios/docs/ /usr/share/doc/nagios/
Alias /nagios/ /usr/share/nagios/
# We grant access to static images for everybody, as the files are available
# publically anyway, but without having it with http password i'm able to link
# icons to jabber notify messages :)
# Apache 2.x
Order allow,deny
Allow from all
# Apache 2.4
Require all granted
Options +ExecCGI
# WITHOUT SSL
# Apache 2.x
Order deny,allow
Deny from all
Allow from 127.0.0.1
# Apache 2.4
Require all denied
Require local
# WITH SSL ENABLED
SSLRequireSSL
AuthType Basic
AuthName "Nagios"
# Apache 2.x
Allow from all
# LDAP based Authz. Apache 1.3
#
# AuthLDAPEnabled on
# AuthLDAPURL ldap://ldap.example.org/ou=People,dc=example,dc=org?uid?sub?(objectClass=*)
#
AuthUserFile /etc/webapps/nagios/passwd
AuthGroupFile /etc/webapps/nagios/group
Require group nagios