silverstripe-framework/.htaccess
Sam Minnee dbba63ae9e 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/trunk@112706 467b73ca-7a2a-4603-9d3b-597d59a354a9
2010-10-18 22:39:50 +00: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>