silverstripe-framework/.htaccess
Sam Minnee 080458d064 BUGFIX: Don't allow direct access to PHP files in sapphire module, except for main.php and static-main.php
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@108023 467b73ca-7a2a-4603-9d3b-597d59a354a9
2011-02-02 14:19:39 +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>