[Pkg-nagios-changes] [pkg-nagios] r23 - nagios2/trunk/debian
Marc Haber
zugschlus at costa.debian.org
Wed Dec 21 14:52:49 UTC 2005
Author: zugschlus
Date: 2005-12-21 14:52:48 +0000 (Wed, 21 Dec 2005)
New Revision: 23
Added:
nagios2/trunk/debian/apache2.conf
Log:
add apache2 config file
Added: nagios2/trunk/debian/apache2.conf
===================================================================
--- nagios2/trunk/debian/apache2.conf 2005-12-20 20:00:54 UTC (rev 22)
+++ nagios2/trunk/debian/apache2.conf 2005-12-21 14:52:48 UTC (rev 23)
@@ -0,0 +1,42 @@
+# BEGIN FOR NAGIOS
+
+ScriptAlias /cgi-bin/nagios /usr/lib/cgi-bin/nagios
+ScriptAlias /nagios/cgi-bin /usr/lib/cgi-bin/nagios
+
+<DirectoryMatch /usr/lib/cgi-bin/nagios>
+ Options ExecCGI
+
+ AllowOverride AuthConfig
+ Order Allow,Deny
+ Allow From All
+
+ AuthName "Nagios Access"
+ AuthType Basic
+ AuthUserFile /etc/nagios/htpasswd.users
+ require valid-user
+</DirectoryMatch>
+
+# Where the stylesheets (config files) reside
+#Alias /nagios/stylesheets /etc/nagios/stylesheets
+
+# Enable this ScriptAlias if you want to enable the grouplist patch.
+# See http://apan.sourceforge.net/download.html for more info
+# It allows you to see a clickable list of all hostgroups in the
+# left pane of the Nagios web interface
+#ScriptAlias /nagios/side.html /usr/lib/cgi-bin/nagios/grouplist.cgi
+
+# Where the HTML pages live
+Alias /nagios /usr/share/nagios/htdocs
+<DirectoryMatch /usr/share/nagios/htdocs>
+ Options FollowSymLinks
+
+ AllowOverride AuthConfig
+ Order Allow,Deny
+ Allow From All
+
+ AuthName "Nagios Access"
+ AuthType Basic
+ AuthUserFile /etc/nagios/htpasswd.users
+ require valid-user
+</DirectoryMatch>
+# END FOR NAGIOS
More information about the Pkg-nagios-changes
mailing list