%PDF- %PDF-
Direktori : /backups/router/usr/local/etc/lighttpd/conf.d/ |
Current File : //backups/router/usr/local/etc/lighttpd/conf.d/auth.conf |
####################################################################### ## ## Authentication Module ## ----------------------- ## ## https://wiki.lighttpd.net/mod_auth for more info and many more options. ## server.modules += ( "mod_auth" ) #server.modules += ( "mod_authn_file" ) #auth.backend = "plain" #auth.backend.plain.userfile = conf_dir + "/lighttpd.user" #server.modules += ( "mod_authn_ldap" ) #auth.backend = "ldap" #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" => "Server Status", # "require" => "valid-user" # ), # ) ## ## cache passwords/digests in memory to reduce load on the backend ## max-age is in seconds ## cache is checked for expiration every 8 seconds, so actual ## caching may be up to 8 seconds longer than configured max-age. ## default: inactive (no caching) ## #auth.cache = ("max-age" => "600") ## #######################################################################