]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
Forgotten the webconf
authormaniacikarus <maniacikarus@ipfire.org>
Sat, 14 Mar 2009 14:06:33 +0000 (15:06 +0100)
committermaniacikarus <maniacikarus@ipfire.org>
Sat, 14 Mar 2009 14:06:33 +0000 (15:06 +0100)
config/httpd/vhosts.d/nagios.conf

index 4a8f1fe15ae5cbf9977543ff23e6dea2f178e794..73a4bd0766587cada899b80cf42c9ca3248d8f0a 100644 (file)
@@ -2,4 +2,46 @@ Listen 1007
 
 <VirtualHost *:1007>
 
+# SAMPLE CONFIG SNIPPETS FOR APACHE WEB SERVER
+# Last Modified: 11-26-2005
+#
+# This file contains examples of entries that need
+# to be incorporated into your Apache web server
+# configuration file.  Customize the paths, etc. as
+# needed to fit your system.
+
+ScriptAlias /nagios/cgi-bin "/usr/share/nagios/cgi-bin"
+
+<Directory "/usr/share/nagios/cgi-bin">
+#  SSLRequireSSL
+   Options ExecCGI
+   AllowOverride None
+   Order allow,deny
+   Allow from all
+#  Order deny,allow
+#  Deny from all
+#  Allow from 127.0.0.1
+   AuthName "Nagios Access"
+   AuthType Basic
+   AuthUserFile /etc/nagios/htpasswd.users
+   Require valid-user
+</Directory>
+
+Alias /nagios "/usr/share/nagios"
+
+<Directory "/usr/share/nagios">
+#  SSLRequireSSL
+   Options None
+   AllowOverride None
+   Order allow,deny
+   Allow from all
+#  Order deny,allow
+#  Deny from all
+#  Allow from 127.0.0.1
+   AuthName "Nagios Access"
+   AuthType Basic
+   AuthUserFile /etc/nagios/htpasswd.users
+   Require valid-user
+</Directory>
+
 </VirtualHost>