]> git.pld-linux.org Git - packages/nagios.git/blobdiff - nagios-apache.conf
- rel 3
[packages/nagios.git] / nagios-apache.conf
index 45582cd80641ed29abdc749d50406fb55923a8af..a16f38a841e8051dc1d0b4fd2c230570df3abbd6 100644 (file)
@@ -1,44 +1,37 @@
 # $Id$
 
+# We grant access to static files for everybody, as the files are available
+# publically anyway, but without having it with http password i'm able to link
+# icons to jabber notify messages :)
+<Directory /usr/share/nagios/>
+       Allow from all
+</Directory>
+
 # WITHOUT SSL
 <IfModule !mod_ssl.c>
 <Directory /usr/lib/nagios/cgi/>
-    Options ExecCGI
-    Order deny,allow
-    Deny from all
-    Allow from 127.0.0.1
-</Directory>
-
-<Directory /usr/share/nagios/>
-    Options None
-    Order deny,allow
-    Deny from all
-    Allow from 127.0.0.1
+       Options ExecCGI
+       Order deny,allow
+       Deny from all
+       Allow from 127.0.0.1
 </Directory>
 </IfModule>
 
 # WITH SSL ENABLED
 <IfModule mod_ssl.c>
 <Directory /usr/lib/nagios/cgi/>
-    Options ExecCGI
-    SSLRequireSSL
-    Allow from all
-    AuthType Basic
-    AuthUserFile /etc/webapps/nagios/passwd
-    AuthGroupFile /etc/webapps/nagios/group
-    AuthName "Nagios"
-    Require group nagios
+       Options ExecCGI
+       SSLRequireSSL
+       Allow from all
+       AuthType Basic
+       AuthUserFile /etc/webapps/nagios/passwd
+       AuthGroupFile /etc/webapps/nagios/group
+       AuthName "Nagios"
+       Require group nagios
 </Directory>
 
 <Directory /usr/share/nagios/>
-    Options None
-    SSLRequireSSL
-    Allow from all
-    AuthType Basic
-    AuthUserFile /etc/webapps/nagios/passwd
-    AuthGroupFile /etc/webapps/nagios/group
-    AuthName "Nagios"
-    Require group nagios
+       SSLRequireSSL
 </Directory>
 </IfModule>
 
This page took 0.09299 seconds and 4 git commands to generate.