SOURCES: nagios-lighttpd.conf (NEW) - restored. mistake

havner havner at pld-linux.org
Wed Jul 26 12:50:20 CEST 2006


Author: havner                       Date: Wed Jul 26 10:50:20 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- restored. mistake

---- Files affected:
SOURCES:
   nagios-lighttpd.conf (1.4 -> 1.5)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/nagios-lighttpd.conf
diff -u /dev/null SOURCES/nagios-lighttpd.conf:1.5
--- /dev/null	Wed Jul 26 12:50:20 2006
+++ SOURCES/nagios-lighttpd.conf	Wed Jul 26 12:50:15 2006
@@ -0,0 +1,22 @@
+# $Id$
+# NB:
+# - lighty doesn't support groupfile
+# - lighty doesn't support Apache's $apr1$ passwords
+
+alias.url += (
+	"/nagios/cgi-bin/" => "/usr/lib/nagios/cgi/",
+	"/nagios" => "/usr/share/nagios",
+)
+
+$HTTP["url"] =~ "^/nagios" {
+	auth.backend = "htpasswd"
+	auth.backend.htpasswd.userfile = "/etc/webapps/nagios/passwd"
+}
+
+auth.require = (
+	"/nagios" => (
+		"method"  => "basic",
+		"realm"   => "Nagios",
+		"require" => "valid-user"
+	)
+)
================================================================


More information about the pld-cvs-commit mailing list