silverstripe-framework/.htaccess
Ingo Schommer c1295753b9 BUGFIX: Don't allow direct access to PHP files in sapphire module, except for main.php and static-main.php (from r108023)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@108043 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:27:36 +13:00

10 lines
129 B
ApacheConf

<Files *.php>
Deny from all
</Files>
<Files static-main.php>
Allow from all
</Files>
<Files main.php>
Allow from all
</Files>