]> TLD Linux GIT Repositories - packages/lighttpd.git/blobdiff - mod_auth.conf
- merged 1.4.48 from PLD, TLDized
[packages/lighttpd.git] / mod_auth.conf
diff --git a/mod_auth.conf b/mod_auth.conf
new file mode 100644 (file)
index 0000000..d8af909
--- /dev/null
@@ -0,0 +1,43 @@
+# Auth module.
+#
+# Documentation: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModAuth
+
+server.modules += (
+       "mod_auth"
+)
+
+#### auth module
+## read authentication.txt for more info
+## 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=$)"
+
+#auth.require = (
+#      "/server-status" => (
+#              "method"  => "digest",
+#              "realm"   => "download archiv",
+#              "require" => "user=jan"
+#      ),
+#      "/server-info" => (
+#              "method"  => "digest",
+#              "realm"   => "download archiv",
+#              "require" => "valid-user"
+#      )
+#)