mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-10-22 17:05:33 +02:00
BUGFIX If mod_rewrite isn't enabled on Apache, a 500 server error won't be generated which prevents the installer from opening and telling you there's no rewrite support
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/branches/2.4@98887 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
02dc0f4518
commit
fefd00cf1e
24
.htaccess
24
.htaccess
@ -1,18 +1,14 @@
|
|||||||
### SILVERSTRIPE START ###
|
### SILVERSTRIPE START ###
|
||||||
<Files *.ss>
|
<Files *.ss>
|
||||||
Order deny,allow
|
Order deny,allow
|
||||||
Deny from all
|
Deny from all
|
||||||
Allow from 127.0.0.1
|
Allow from 127.0.0.1
|
||||||
</Files>
|
</Files>
|
||||||
|
|
||||||
<Files web.config>
|
<IfModule mod_rewrite.c>
|
||||||
Order deny,allow
|
RewriteEngine On
|
||||||
Deny from all
|
RewriteCond %{REQUEST_URI} ^(.*)$
|
||||||
</Files>
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
|
RewriteRule .* sapphire/main.php?url=%1&%{QUERY_STRING} [L]
|
||||||
RewriteEngine On
|
</IfModule>
|
||||||
|
### SILVERSTRIPE END ###
|
||||||
RewriteCond %{REQUEST_URI} ^(.*)$
|
|
||||||
RewriteCond %{REQUEST_FILENAME} !-f
|
|
||||||
RewriteRule .* sapphire/main.php?url=%1&%{QUERY_STRING} [L]
|
|
||||||
### SILVERSTRIPE END ###
|
|
||||||
|
Loading…
Reference in New Issue
Block a user