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"
)
)