mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-10-22 15:05:33 +00:00
MINOR Deny access to web.config file when installer generates .htaccess file
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@98890 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
b27645b7ac
commit
46424744af
11
install.php
11
install.php
@ -993,9 +993,14 @@ PHP
|
||||
|
||||
$rewrite = <<<TEXT
|
||||
<Files *.ss>
|
||||
Order deny,allow
|
||||
Deny from all
|
||||
Allow from 127.0.0.1
|
||||
Order deny,allow
|
||||
Deny from all
|
||||
Allow from 127.0.0.1
|
||||
</Files>
|
||||
|
||||
<Files web.config>
|
||||
Order deny,allow
|
||||
Deny from all
|
||||
</Files>
|
||||
|
||||
RewriteEngine On
|
||||
|
Loading…
x
Reference in New Issue
Block a user