Project

General

Profile

Actions

Bug #1903

closed

lighttpd should send 403 instead of 404 if dir listing is disabled

Added by izibi about 15 years ago. Updated about 8 years ago.

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.

Actions #1

Updated by gstrauss about 8 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.

Actions #2

Updated by stbuehler about 8 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