Mailing List Archive

[Bug 51471] <DirectoryMatch>ed IndexIgnore doesn't
https://bz.apache.org/bugzilla/show_bug.cgi?id=51471

--- Comment #6 from Jhon Smith <brigadeneopolisflats@gmail.com> ---
(In reply to tlhackque from comment #0)
> IndexIgnore does not seem to honor <DirectoryMatch> sections.
>
> It appears that ignore_entry is doing a literal compare of the directory
> path rather than taking the RE of the DirectoryMatch into account.
>
> Consider a simple test case:
> /var/www/fancy/HEEDME exists, as does /var/www/fancy/sub/HEEDME
>
> Alias /fancy/ /var/www/fancy/
> <Directory "/var/www/fancy">
> Options +Indexes
> IndexOptions FancyIndexing FoldersFirst NameWidth=* SuppressDescription
> TrackModified
> IndexIgnore README ..
> Order Deny,Allow
> Allow from all
> </Directory>
> <DirectoryMatch "^/var/www/fancy/.+">
> IndexIgnore HEEDME
> </DirectoryMatch>
>
> HEEDME correctly appears in the autoindex of /fancy/
>
> HEEDME incorrectly appears in the autoindex of /fancy/sub/
>
> However, if the DirectoryMatch is replaced by:
>
> <Directory "/var/www/fancy/sub">
> IndexIgnore HEEDME
> </Directory>
>
> HEEMDE disappears as expected.
>
> Given that in real life, there are many subdirectories (that come and go),
> this is a major annoyance since the .conf file has to include (and be
> updated) for each subdirectory.

Hello

Would you kindly supply the information for rephrasing again?

Regards
Jhon Smith
Brigade Neopolis
https://www.brigadeneopolis.live/

--
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