Options ExecCGI
# WITHOUT SSL
Order deny,allow
Deny from all
Allow from 127.0.0.1
# WITH SSL ENABLED
SSLRequireSSL
Allow from all
AuthType Basic
AuthName "Nagios"
# 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
# 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 :)
Allow from all
Allow from all
ScriptAlias /nagios/cgi-bin/ /usr/lib/nagios/cgi/
Alias /nagios/docs/ /usr/share/doc/nagios/
Alias /nagios/ /usr/share/nagios/