Hello people, 

following issue:

Here is the directory layout
|-- dir1
|   |-- dir2
|   |   `-- dir3

In dir1 is a .htaccess:

<FilesMatch "\.php$">
Order Deny,Allow
Deny from all
</FilesMatch>

Directory dir3 contains an .htacess with "Options +Indexes" and .gif-files only.

If I remove the .htaccess in dir1 the directory listing is displayed.

If I keep it, the .htaccess in dir3 seems to be ignored as Error 403 (Forbidden)
is returned.

If I write "<FilesMatch "\.gif$">" instead of php in the .htaccess in dir1 it
all works, and the gif files in dir3 are not displayed (as it should be, an
empty directory listing is returned). So what is it with the PHP files? It seems
to behave like I am unable to access any subdirectory of a directory containing
a .php file with the FilesMatch directive above. Why??

Thanks for any input you might have on this.

Regards,
Marc


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to