]>
Commit | Line | Data |
---|---|---|
7fa2503d | 1 | # $Id$ |
6bc25cae | 2 | |
c821c47b ER |
3 | # We grant access to static files for everybody, as the files are available |
4 | # publically anyway, but without having it with http password i'm able to link | |
5 | # icons to jabber notify messages :) | |
6 | <Directory /usr/share/nagios/> | |
7 | Allow from all | |
8 | </Directory> | |
9 | ||
96018fcf TO |
10 | # WITHOUT SSL |
11 | <IfModule !mod_ssl.c> | |
96018fcf | 12 | <Directory /usr/lib/nagios/cgi/> |
d6e59eb6 ER |
13 | Options ExecCGI |
14 | Order deny,allow | |
15 | Deny from all | |
16 | Allow from 127.0.0.1 | |
96018fcf | 17 | </Directory> |
96018fcf TO |
18 | </IfModule> |
19 | ||
20 | # WITH SSL ENABLED | |
21 | <IfModule mod_ssl.c> | |
96018fcf | 22 | <Directory /usr/lib/nagios/cgi/> |
d6e59eb6 ER |
23 | Options ExecCGI |
24 | SSLRequireSSL | |
25 | Allow from all | |
26 | AuthType Basic | |
27 | AuthUserFile /etc/webapps/nagios/passwd | |
28 | AuthGroupFile /etc/webapps/nagios/group | |
29 | AuthName "Nagios" | |
30 | Require group nagios | |
96018fcf TO |
31 | </Directory> |
32 | ||
96018fcf | 33 | <Directory /usr/share/nagios/> |
d6e59eb6 | 34 | SSLRequireSSL |
96018fcf TO |
35 | </Directory> |
36 | </IfModule> | |
09ae3cf4 | 37 | |
8dc11f4f ER |
38 | ScriptAlias /nagios/cgi-bin/ /usr/lib/nagios/cgi/ |
39 | Alias /nagios/ /usr/share/nagios/ |