authent.conf (lighttpd)
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"
)
)
Comments
0 B
|๐
/๐