Project

General

Profile

Actions

Bug #1903

closed

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

Added by izibi about 16 years ago. Updated about 9 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.

#2

Updated by stbuehler about 9 years ago

  • Status changed from New to Missing Feedback
Actions

Also available in: Atom