Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server.modules += ( "mod_auth" )
- auth.debug = 2
- auth.backend = "plain"
- auth.backend.plain.userfile = "/etc/lighttpd/.htpasswd"
- # for htdigest
- auth.require = (
- "/" =>
- (
- "method" => "basic",
- "realm" => "you shall not pass",
- "require" => "valid-user"
- )
- )
Advertisement