]> git.pld-linux.org Git - packages/nagios.git/blame - nagios-httpd.conf
- release 3 (by relup.sh)
[packages/nagios.git] / nagios-httpd.conf
CommitLineData
ee3edbbe
JR
1<Directory ~ "/usr/lib/nagios/cgi/|/usr/share/nagios/">
2 Options ExecCGI
3
4 # WITHOUT SSL
5 <IfModule !mod_ssl.c>
6 Require all denied
7 Require local
8 </IfModule>
9
10 # WITH SSL ENABLED
11 <IfModule mod_ssl.c>
12 SSLRequireSSL
13
14 Require all granted
15 AuthType Basic
16 AuthName "Nagios"
17
18 # LDAP based Authz. Apache 1.3
19 <IfModule mod_auth_ldap.c>
20 AuthLDAPEnabled on
21 AuthLDAPURL ldap://ldap.example.org/ou=People,dc=example,dc=org?uid?sub?(objectClass=*)
22 </IfModule>
23
24 AuthUserFile /etc/webapps/nagios/passwd
25 AuthGroupFile /etc/webapps/nagios/group
26 Require group nagios
27 </IfModule>
28</Directory>
29
30# We grant access to static images for everybody, as the files are available
31# publically anyway, but without having it with http password i'm able to link
32# icons to jabber notify messages :)
33<Directory /usr/share/nagios/images>
34 Require all granted
35</Directory>
36<Directory /usr/share/doc/nagios>
37 Require all granted
38</Directory>
39
40ScriptAlias /nagios/cgi-bin/ /usr/lib/nagios/cgi/
41Alias /nagios/docs/ /usr/share/doc/nagios/
42Alias /nagios/ /usr/share/nagios/
This page took 0.066733 seconds and 4 git commands to generate.