|
Auth and conditionals: msg#00064web.lighttpd
Hi! There's something wrong with my auth configuration and I can't figure out where the problem resides. I have to apply an access control to two directories, /admin and /webstat, for a domain called domain.tld. $HTTP["host"] =~ "domain\.tld$" { server.name = "domain.tld" auth.backend = "htpasswd" auth.backend.plain.userfile = "/usr/local/lighttpd/auth.user" auth.require = ( "/admin" => ( "method" => "basic", "realm" => "Restricted Area", "require" =>"user=user1|user=user2|user=user3" ), "/webstat" => ( "method" => "basic", "realm" => "Restricted Area", "require" =>"user=user1|user=user2|user=user3" ) ) } After a reload of lighttpd it works for domain.tld, but other domains are affected too. So if I try to access domain2.tld/webstat, the password authentication for domain.tld/webstat shows up. What did I wrong? Regards, A. |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: 1.3 bug fixes: 00064, Jan Kneschke |
|---|---|
| Next by Date: | Re: Auth and conditionals: 00064, Jan Kneschke |
| Previous by Thread: | 1.3 + pcre problemsi: 00064, zell |
| Next by Thread: | Re: Auth and conditionals: 00064, Jan Kneschke |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |