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 2017/03/03 15:57:44 UTC

[Bug 51471] ed IndexIgnore doesn't

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

Alexander R. <al...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|All                         |Linux
            Version|2.2.17                      |2.4.18
                 CC|                            |alexander.reintzsch+bugzill
                   |                            |a@gmail.com

--- Comment #4 from Alexander R. <al...@gmail.com> ---
I have a similar issue with IndexIgnore inside an If-clause.

<Directory /var/www>
  DAV on
  ForceType text/plain
  AddDefaultCharset utf-8
  Options +Indexes +FollowSymLinks +MultiViews
  IndexOptions FancyIndexing
  IndexOptions SuppressHTMLPreamble
  IndexOptions FoldersFirst
  IndexOptions IconsAreLinks
  HeaderName /html/header.html
  ReadmeName /html/footer.html
  <If "-R '10.144.22.1/32'">
    IndexIgnore footer.html header.html README.TXT LIESMICH.TXT README.TXT~
LIESMICH.TXT~ Thumbs.db
  </If>
  <Else>
    IndexIgnore restricted footer.html header.html README.TXT LIESMICH.TXT
README.TXT~ LIESMICH.TXT~ Thumbs.db
  </Else>
<Directory>

Expected:
What it should do is to ignore the listed files. And if the remote address is
10.144.22.1 it should display "restricted" else it should also not list it in
the index.

What happens:
Neither IndexIgnore is fired. All files in the directory are listed.

If I put IndexIgnore outside the If-clause it works as expected.

I guess there is an issue with IndexIgnore inside some "dynamic"-tags similar
to the one described here.

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