]> git.pld-linux.org Git - packages/nagios.git/blob - nagios-apache.conf
- fix spool dir
[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 <Directory /usr/share/doc/nagios>
10         Allow from all
11 </Directory>
12
13 <Directory /usr/lib/nagios/cgi>
14         Options ExecCGI
15
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
26
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>
34 </Directory>
35
36 ScriptAlias /nagios/cgi-bin/ /usr/lib/nagios/cgi/
37 Alias /nagios/docs/ /usr/share/doc/nagios/
38 Alias /nagios/ /usr/share/nagios/
This page took 0.028601 seconds and 3 git commands to generate.