Hello,
actually we are trying to get a rule working with lighty lighttpd.conf
We want to secure whole domain with a authentication, and also seperate directories with a different authentication.
However it only asks for the whole domain, after this has been accepted it doesnt ask for the seperate directorie when accessing it, but it should because it has more security status.
Our code:
If we delete the first rule for whole domain, it asks for /dir1/, it's strange.Code:# Auth for whole Domain auth.require = ( "/" => ( "method" => "digest", "realm" => "auth1", "require" => "user=global" ), # Auth only for special directory "/dir1/" => ( "method" => "digest", "realm" => "auth2", "require" => "user=specialuser" ) )
Any idea how to get it to work ?
regards


LinkBack URL
About LinkBacks





Reply With Quote