You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@httpd.apache.org by bu...@apache.org on 2021/04/14 21:17:43 UTC

[Bug 65242] New: DirectoryCheckHandler ambiguous

https://bz.apache.org/bugzilla/show_bug.cgi?id=65242

            Bug ID: 65242
           Summary: DirectoryCheckHandler ambiguous
           Product: Apache httpd-2
           Version: 2.4.39
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: Documentation
          Assignee: docs@httpd.apache.org
          Reporter: calestyo@scientia.net
  Target Milestone: ---

Hi.

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.


Cheers,
Chris.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


[Bug 65242] DirectoryCheckHandler ambiguous

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65242

--- Comment #2 from Bachsau <de...@bachsau.com> ---
Since noone seems to care, I did some tests.

If DirectoryCheckHandler is "On", mod_dir steps back in case another handler is
configured. If it is "Off", processing is done anyway.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


[Bug 65242] DirectoryCheckHandler ambiguous

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65242

Bachsau <de...@bachsau.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|2.4.39                      |2.4.57

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


[Bug 65242] DirectoryCheckHandler ambiguous

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65242

--- Comment #1 from Bachsau <de...@bachsau.com> ---
I also can't tell what this directive really does. Documentation says "In
releases prior to 2.4, this module did not take any action if any other handler
was configured for a URL." To me, this means that the module checked for other
handlers and refrained from adding a slash or loading an index document, if it
found something.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org