--- elwix/config/etc/default/lighttpd/conf.d/auth.conf 2013/10/14 15:19:37 1.1 +++ elwix/config/etc/default/lighttpd/conf.d/auth.conf 2014/01/05 23:14:24 1.2 @@ -0,0 +1,27 @@ +####################################################################### +## +## Authentication Module +## ----------------------- +## +## See http://www.lighttpd.net/documentation/authentification.html +## for more info. +## + +auth.backend = "plain" +auth.backend.plain.userfile = "/etc/lighttpd/elwix.pw" +#auth.backend.plain.groupfile = "/usr/local/etc/lighttpd/lighttpd.group" + +#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" => "ELWIX web portal", + "require" => "valid-user" + ), + ) + +## +#######################################################################