mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-10-22 17:05:33 +02:00
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:
parent
6644748bcf
commit
dc6f22446c
@ -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
3
mysite/.htaccess
Normal file
@ -0,0 +1,3 @@
|
||||
<Files *.php>
|
||||
Deny from all
|
||||
</Files>
|
Loading…
Reference in New Issue
Block a user