]>
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 | |
b2715b2c ER |
5 | # icons to jabber notify messages... |
6 | <Directory /usr/share/nagios> | |
c821c47b ER |
7 | Allow from all |
8 | </Directory> | |
bf60adae ER |
9 | <Directory /usr/share/doc/nagios> |
10 | Allow from all | |
11 | </Directory> | |
c821c47b | 12 | |
b2715b2c | 13 | <Directory /usr/lib/nagios/cgi> |
d6e59eb6 | 14 | Options ExecCGI |
96018fcf | 15 | |
b2715b2c ER |
16 | # WITHOUT SSL |
17 | <IfModule !mod_ssl.c> | |
18 | Order deny,allow | |
19 | Deny from all | |
20 | Allow from 127.0.0.1 | |
21 | </IfModule> | |
22 | ||
23 | # WITH SSL ENABLED | |
24 | <IfModule mod_ssl.c> | |
25 | SSLRequireSSL | |
96018fcf | 26 | |
b2715b2c ER |
27 | Allow from all |
28 | AuthType Basic | |
29 | AuthUserFile /etc/webapps/nagios/passwd | |
30 | AuthGroupFile /etc/webapps/nagios/group | |
31 | AuthName "Nagios" | |
32 | Require group nagios | |
33 | </IfModule> | |
96018fcf | 34 | </Directory> |
09ae3cf4 | 35 | |
8dc11f4f | 36 | ScriptAlias /nagios/cgi-bin/ /usr/lib/nagios/cgi/ |
bf60adae | 37 | Alias /nagios/docs/ /usr/share/doc/nagios/ |
8dc11f4f | 38 | Alias /nagios/ /usr/share/nagios/ |