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 2011/07/04 20:33:00 UTC

DO NOT REPLY [Bug 51471] New: ed IndexIgnore doesn't

https://issues.apache.org/bugzilla/show_bug.cgi?id=51471

             Bug #: 51471
           Summary: <DirectoryMatch>ed IndexIgnore doesn't
           Product: Apache httpd-2
           Version: 2.2.17
          Platform: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_autoindex
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: tlhackque@yahoo.com
    Classification: Unclassified


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.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


DO NOT REPLY [Bug 51471] ed IndexIgnore doesn't

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

Eric Covener <co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|FixedInTrunk                |

--- Comment #2 from Eric Covener <co...@gmail.com> 2011-11-21 05:16:11 UTC ---
this was reverted, needs more work

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


DO NOT REPLY [Bug 51471] ed IndexIgnore doesn't

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

Eric Covener <co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |FixedInTrunk
         OS/Version|                            |All

--- Comment #1 from Eric Covener <co...@gmail.com> 2011-11-21 03:31:07 UTC ---
fixed in r1204341

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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