Bug 65242 - DirectoryCheckHandler ambiguous
Summary: DirectoryCheckHandler ambiguous
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: Documentation (show other bugs)
Version: 2.4.39
Hardware: All All
: P2 major (vote)
Target Milestone: ---
Assignee: HTTP Server Documentation List
Depends on:
Reported: 2021-04-14 21:17 UTC by Christoph Anton Mitterer
Modified: 2021-04-14 21:17 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Anton Mitterer 2021-04-14 21:17:43 UTC

The documentation on DirectoryCheckHandler doesn't really tell which of "On" or "Off" is the one, that enables/disables mod_dir's index/trailing-slash in the case another handler has been set.

- The default is described as "Off", while pre-2.4 is described as having effectively had "On"

- It also says: "In releases prior to 2.4, this module did not take any action if any other handler was configured for a URL." ... which would make one assume, that:
On  = do not index/trailing-slash if another handler is set
Off = do     index/trailing-slash if another handler is set

However, in the next sentence it says the opposite:
"This allows directory indexes to be served even when a SetHandler directive is specified for an entire directory"

It should be clearly explained, what On/Off do... which one will lead mod_dir provide index/trailing-slash if another handler is set, and which one will not.