Ticket #1193 (new defect)
HTTP basic auth throwing 401 on non-slash trailed URL
| Reported by: | burley@… | Owned by: | jan |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.5.0 |
| Component: | mod_auth | Version: | 1.4.15 |
| Severity: | minor | Keywords: | |
| Cc: | Blocked By: | ||
| Need User Feedback: | Blocking: |
Description
Greetings,
Using either a symlink (if the content is already present in an existing path, making a symlink in that same path back to its parent directory. ex: "ln -s . foo") or alias.url along with an auth.require section, URLs ending in a slash function properly, but those without get thrown a HTTP 401 error. Removing the auth requirement makes both URLs act consistently, responding with the right content. The order in which mod_alias and mod_auth load has no impact.
Example config snippets:
auth.backend = "plain"
auth.backend.plain.userfile = "/etc/lighttpd/auth"
auth.require = (
"" => (
"method" => "basic",
"realm" => "Authentication Required",
"require" => "valid-user"
)
)
alias.url = ( "/foo" => "/usr/local/www")
Thank you,
David Burley
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

