]> git.pld-linux.org Git - packages/lighttpd.git/commitdiff
- add auth config lines
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 10 Jan 2005 01:51:27 +0000 (01:51 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    lighttpd.conf -> 1.12

lighttpd.conf

index 42f7919366d692b98afc2b953ebd645ff3a91e6a..44ea4bde00b83862752421aadd2a282b7b319d0e 100644 (file)
@@ -196,10 +196,23 @@ server.groupname           = "lighttpd"
 
 #### auth module
 ## read authentification.txt for more info
-#auth.backend                = "plain"
-#auth.backend.plain.userfile = "lighttpd.user"
-#auth.backend.plain.groupfile = "lighttpd.group"
-
+## debugging
+# 0 for off, 1 for 'auth-ok' messages, 2 for verbose debugging
+#auth.debug = 1
+## type of backend
+# plain, htpasswd, ldap or htdigest
+#auth.backend = "plain"
+# filename of the password storage
+## for plain
+#auth.backend.plain.userfile = "/etc/lighttpd/lighttpd.user"
+#auth.backend.plain.groupfile = "/etc/lighttpd/lighttpd.group"
+## for htpasswd
+#auth.backend.htpasswd.userfile = "/etc/lighttpd/lighttpd-htpasswd.user"
+## for htdigest
+#auth.backend.htdigest.userfile = "/etc/lighttpd/lighttpd-htdigest.user"
+## for ldap
+# the $ in auth.backend.ldap.filter is replaced by the
+# 'username' from the login dialog
 #auth.backend.ldap.hostname = "localhost"
 #auth.backend.ldap.base-dn  = "dc=my-domain,dc=com"
 #auth.backend.ldap.filter   = "(uid=$)"
@@ -208,15 +221,21 @@ server.groupname           = "lighttpd"
 #      "/server-status" => (
 #              "method"  => "digest",
 #              "realm"   => "download archiv",
-#              "require" => "group=www|user=jan|host=192.168.2.10"
+#              "require" => "user=agent007|user=agent008"
 #      ),
 #      "/server-info" => (
 #              "method"  => "digest",
 #              "realm"   => "download archiv",
 #              "require" => "group=www|user=jan|host=192.168.2.10"
 #      ),
+#      "/server-config" => (
+#              "method"  => "ldap",
+#              "realm"   => "server config",
+#              "require" => "user=glen"
+#      ),
 #)
 
+
 #### url handling modules (rewrite, redirect, access)
 #url.rewrite                 = ( "^/$"             => "/server-status" )
 #url.redirect                = ( "^/wishlist/(.+)" => "http://www.123.org/$1" )
This page took 0.127164 seconds and 4 git commands to generate.