Hello.
LSWS and LSAPI last version, CentOS 6.4.
For test i used such files and directiries:
www/test/.htaccess
www/test/index.php
www/test/....some files else ....
www/test/test2/.htaccess
www/test/test2/index.php
www/test/test2/....some files else ....
www/test/.htaccess contains
www/test/test2/.htaccess contains:
When i request www/test/test2/index.php, i get 403 error. Works www/test/.htaccess but must work www/test/test2/.htaccess which have "Allow from all". Why it does not?
LSWS and LSAPI last version, CentOS 6.4.
For test i used such files and directiries:
www/test/.htaccess
www/test/index.php
www/test/....some files else ....
www/test/test2/.htaccess
www/test/test2/index.php
www/test/test2/....some files else ....
www/test/.htaccess contains
Code:
<FilesMatch "\.([Pp][Hh][Pp]|[Cc][Gg][Ii]|[Pp][Ll]|[Pp][Hh][Tt][Mm][Ll])\.?">
Deny from all
</FilesMatch>
Code:
<FilesMatch "\.([Pp][Hh][Pp]|[Cc][Gg][Ii]|[Pp][Ll]|[Pp][Hh][Tt][Mm][Ll])\.?">
Allow from all
</FilesMatch>