BUGFIX: Don't allow direct access to PHP files in mysite module. (from r108029)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.3@108045 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
ischommer 2010-07-16 01:25:01 +00:00 committed by Sam Minnee
parent 6644748bcf
commit dc6f22446c
2 changed files with 4 additions and 0 deletions

View File

@ -7,6 +7,7 @@ Allow from 127.0.0.1
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /phpinstaller-2.3
RewriteCond %{REQUEST_URI} !(\.gif$)|(\.jpg$)|(\.png$)|(\.css$)|(\.js$)

3
mysite/.htaccess Normal file
View File

@ -0,0 +1,3 @@
<Files *.php>
Deny from all
</Files>