]>
Commit | Line | Data |
---|---|---|
218b60a4 ER |
1 | # $Id$ |
2 | ||
e6038209 | 3 | <Directory ~ "/usr/lib/nagios/cgi/|/usr/share/nagios/"> |
d6e59eb6 | 4 | Options ExecCGI |
96018fcf | 5 | |
b2715b2c ER |
6 | # WITHOUT SSL |
7 | <IfModule !mod_ssl.c> | |
8 | Order deny,allow | |
9 | Deny from all | |
10 | Allow from 127.0.0.1 | |
11 | </IfModule> | |
12 | ||
13 | # WITH SSL ENABLED | |
14 | <IfModule mod_ssl.c> | |
15 | SSLRequireSSL | |
96018fcf | 16 | |
b2715b2c ER |
17 | Allow from all |
18 | AuthType Basic | |
e6038209 ER |
19 | AuthName "Nagios" |
20 | ||
5b6488b1 ER |
21 | # LDAP based Authz. Apache 1.3 |
22 | <IfModule mod_auth_ldap.c> | |
23 | AuthLDAPEnabled on | |
24 | AuthLDAPURL ldap://ldap.example.org/ou=People,dc=example,dc=org?uid?sub?(objectClass=*) | |
25 | </IfModule> | |
26 | ||
b2715b2c ER |
27 | AuthUserFile /etc/webapps/nagios/passwd |
28 | AuthGroupFile /etc/webapps/nagios/group | |
b2715b2c ER |
29 | Require group nagios |
30 | </IfModule> | |
96018fcf | 31 | </Directory> |
09ae3cf4 | 32 | |
e6038209 ER |
33 | # We grant access to static images for everybody, as the files are available |
34 | # publically anyway, but without having it with http password i'm able to link | |
35 | # icons to jabber notify messages :) | |
36 | <Directory /usr/share/nagios/images> | |
37 | Allow from all | |
38 | </Directory> | |
39 | <Directory /usr/share/doc/nagios> | |
40 | Allow from all | |
41 | </Directory> | |
42 | ||
8dc11f4f | 43 | ScriptAlias /nagios/cgi-bin/ /usr/lib/nagios/cgi/ |
bf60adae | 44 | Alias /nagios/docs/ /usr/share/doc/nagios/ |
8dc11f4f | 45 | Alias /nagios/ /usr/share/nagios/ |