Apache ACL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux