]> git.pld-linux.org Git - packages/nagios.git/commitdiff
- authorization (NOTE: groupfile is not supported!)
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 17 Jul 2006 17:21:19 +0000 (17:21 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    nagios-lighttpd.conf -> 1.2

nagios-lighttpd.conf

index 5ad819eda7c0aabb86a9bed3f9e6bacf2c72227f..f659b2bed32d4e0562f8df24ee2a4e48e926492a 100644 (file)
@@ -1,8 +1,20 @@
 # $Id$
 #
-# TODO: authorization and ssl!
 
 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"
+       )
+)
This page took 0.137505 seconds and 4 git commands to generate.