Actions
Bug #669
closedproblems with authentication for urls differing in case
Status:
Wontfix
Priority:
Normal
Category:
mod_auth
Target version:
-
ASK QUESTIONS IN Forums:
Description
If I have two URL-prefixes like /Test and /test it is impossible to define authentication for both:
if I try to configure both in auth.require (see below), I get an error 'Duplicate array-key: /test'.
On the other hand defining one one does not protect the other.
So lighttpd seems to handle the prefixes case insensitiv when they are stored in the hash, and case sensitive, when they are checked.
I think this should be at least consistent and since URLs are case sensitive (at least on linux) it should allow for case sensitiv configuration.
auth.require = (
"/Test" => (
"method" => "basic",
"realm" => "Experteer Admin",
"require" => "valid-user"
),
"/test" => (
"method" => "basic",
"realm" => "Experteer Admin",
"require" => "valid-user"
)
)
-- morus.walter
Updated by stbuehler over 16 years ago
- Status changed from New to Fixed
- Resolution set to wontfix
Limitation by config design, won't fix.
Actions
Also available in: Atom