]> git.pld-linux.org Git - packages/nagios.git/blob - nagios-apache.conf
- rel 4
[packages/nagios.git] / nagios-apache.conf
1 # $Id$
2
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
10 # WITHOUT SSL
11 <IfModule !mod_ssl.c>
12 <Directory /usr/lib/nagios/cgi/>
13         Options ExecCGI
14         Order deny,allow
15         Deny from all
16         Allow from 127.0.0.1
17 </Directory>
18 </IfModule>
19
20 # WITH SSL ENABLED
21 <IfModule mod_ssl.c>
22 <Directory /usr/lib/nagios/cgi/>
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
31 </Directory>
32
33 <Directory /usr/share/nagios/>
34         SSLRequireSSL
35 </Directory>
36 </IfModule>
37
38 ScriptAlias /nagios/cgi-bin/ /usr/lib/nagios/cgi/
39 Alias /nagios/ /usr/share/nagios/
This page took 0.051014 seconds and 3 git commands to generate.