mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Should fix an issue where the .htaccess file was split into several <pre> tags.
This error is not reproducible by the github preview tab, so I am not 100% sure it is fixed. Added whitespace on the empty lines.
This commit is contained in:
parent
9c6b58d206
commit
c4408163ee
@ -13,18 +13,18 @@ The basic .htaccess file after installing SilverStripe look like this:
|
|||||||
|
|
||||||
<file>
|
<file>
|
||||||
### 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>
|
||||||
|
|
||||||
<IfModule mod_rewrite.c>
|
<IfModule mod_rewrite.c>
|
||||||
RewriteEngine On
|
RewriteEngine On
|
||||||
|
|
||||||
RewriteCond %{REQUEST_URI} !(\.gif$)|(\.jpg$)|(\.png$)|(\.css$)|(\.js$)
|
RewriteCond %{REQUEST_URI} !(\.gif$)|(\.jpg$)|(\.png$)|(\.css$)|(\.js$)
|
||||||
|
|
||||||
RewriteCond %{REQUEST_URI} ^(.*)$
|
RewriteCond %{REQUEST_URI} ^(.*)$
|
||||||
RewriteCond %{REQUEST_FILENAME} !-f
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
RewriteRule .* framework/main.php?url=%1&%{QUERY_STRING} [L]
|
RewriteRule .* framework/main.php?url=%1&%{QUERY_STRING} [L]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user