BUGFIX: Put all php file inclusions/exclusions into a single file, because some servers don't seem to allow reenabling of file access in a subdirection .htaccess file.

This commit is contained in:
Sam Minnee 2012-05-03 13:13:51 +12:00
parent 450bc258d8
commit 8eb0814d04
2 changed files with 1 additions and 4 deletions

View File

@ -1,7 +1,7 @@
<FilesMatch "\.(php|php3|php4|php5|phtml|inc)$">
Deny from all
</FilesMatch>
<FilesMatch "(main|static-main|rpc)\.php$">
<FilesMatch "(main|static-main|rpc|tiny_mce_gzip)\.php$">
Allow from all
</FilesMatch>
<FilesMatch "silverstripe_version$">

View File

@ -1,3 +0,0 @@
<FilesMatch "\.(php)$">
Allow from all
</FilesMatch>