1####################################################################### 2## 3## Authentication Module 4## ----------------------- 5## 6## See https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModAuth 7## for more info and many more options. 8## 9 10server.modules += ( "mod_auth" ) 11 12#server.modules += ( "mod_authn_file" ) 13#auth.backend = "plain" 14#auth.backend.plain.userfile = conf_dir + "/lighttpd.user" 15 16#server.modules += ( "mod_authn_ldap" ) 17#auth.backend = "ldap" 18#auth.backend.ldap.hostname = "localhost" 19#auth.backend.ldap.base-dn = "dc=my-domain,dc=com" 20#auth.backend.ldap.filter = "(uid=$)" 21 22#auth.require = ( "/server-status" => 23# ( 24# "method" => "digest", 25# "realm" => "Server Status", 26# "require" => "valid-user" 27# ), 28# ) 29 30## 31## cache passwords/digests in memory to reduce load on the backend 32## max-age is in seconds 33## cache is checked for expiration every 8 seconds, so actual 34## caching may be up to 8 seconds longer than configured max-age. 35## default: inactive (no caching) 36## 37#auth.cache = ("max-age" => "600") 38 39## 40####################################################################### 41