You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2016/03/05 14:43:44 UTC
[Bug 59124] New: mod_autoindex not behaving as described in the
documentation
https://bz.apache.org/bugzilla/show_bug.cgi?id=59124
Bug ID: 59124
Summary: mod_autoindex not behaving as described in the
documentation
Product: Apache httpd-2
Version: 2.4.18
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: mod_autoindex
Assignee: bugs@httpd.apache.org
Reporter: bughunt@gluino.name
Point 1:
========
At
https://httpd.apache.org/docs/current/mod/mod_autoindex.html#indexoptions
we read that the "Options" directive is allowed in
"server config, virtual host, directory, .htaccess"
In my case, I put it into a "Location" where it works w/o ill effect (and were
I need to have it, so this is desired behaviour): The "location" is mapped to a
specific directory and the contents of that directory are correctly displayed.
Is this expected, an error in the documentation or an edge case that actually
should not work?
Point 2:
========
In the same case as above, the IndexOptions do not behave as expected according
to how "incremental indexoptions" are supposed to accumulate:
<Location "/documents/">
Options Indexes
IndexOptions FancyIndexing +SuppressSize
</Location>
would be expected to drop all existing options switch on, FancyIndexing, then
accumulate SuppressSize to this, resulting in:
"FancyIndexing" and "SuppressSize" becing active
but it does not, it switches on FancyIndexing but not SuppressSize.
TO switch on both, one has to use the + Notation throughout:
<Location "/documents/">
Options Indexes
IndexOptions +FancyIndexing +SuppressSize
</Location>
Again, not sure if there is a problem in the documentation or this is some edgy
case.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org