You are not logged in.
Hello.
I am trying to configure mod_auth on lighttpd.
I've enabled the options in the configfile trying both htpasswd and htdigest, but I'm never prompted for a password, the site loads as if I had not enabled authentication.
No authentication related messages are showing up in the logs either.
I have been messing with the config file all morning but am unable to get a password prompt to come up..Trying to protect the entire site.
I do have mod_auth uncommented, and have:
auth.backend = "htdigest"
auth.backend.htdigest.userfile = "/etc/lighttpd/.htdigest"
auth.debug = 2
auth.require = ( "/" =>
(
"method" => "basic",
"realm" => "Restricted",
"require" => "valid-user"
)
)
I have generated the .htdigest file with htdigest, and set the owner and group to http.
any ideas?
edit: lol. looks like it was just being cached on my local machine. I tried it on another box and got asked for authentication.
Last edited by jason_f (2009-03-03 20:22:30)
Offline