Actions
Bug #1903
closedlighttpd should send 403 instead of 404 if dir listing is disabled
Status:
Missing Feedback
Priority:
Normal
Category:
mod_dirlisting
Target version:
-
ASK QUESTIONS IN Forums:
Description
If you create a directory without a index file and disable directory listing for it, lighttpd will send a 404 error, but that looks like the directory doesn't exist. That would make sense if you think that the index file is missing.
But as discussed in the IRC, I think a 403 would make more sense because the directory exists and in most cases, you disable directory listing because you don't want somebody to see the contents of a directory.
Updated by gstrauss about 9 years ago
In 1.4.x latest, if nothing handles the request, including not handled by mod_indexfile and mod_dirlisting, then 403 Forbidden is returned.
Please mark this ticket fixed.
Updated by stbuehler about 9 years ago
- Status changed from New to Missing Feedback
Please provide an example config + file tree if this is still a problem.
Actions
Also available in: Atom