mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-10-22 17:05:33 +02:00
#1368 - mod_rewrite fix for some apache servers
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@41675 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
4593da20ff
commit
bd1fa10ab9
15
install.php
15
install.php
@ -694,12 +694,8 @@ PHP
|
||||
$rewrite = <<<TEXT
|
||||
RewriteEngine On
|
||||
|
||||
RewriteRule \.js$ - [L]
|
||||
RewriteRule \.css$ - [L]
|
||||
RewriteRule \.png$ - [L]
|
||||
RewriteRule \.jpg$ - [L]
|
||||
RewriteRule \.gif$ - [L]
|
||||
RewriteRule \.php$ - [L]
|
||||
|
||||
RewriteCond %{REQUEST_URI} !(\.gif)|(\.jpg)|(\.png)|(\.css)|(\.js)|(\.php)$
|
||||
|
||||
RewriteCond %{REQUEST_URI} ^(.*)$
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
@ -734,12 +730,7 @@ TEXT
|
||||
$rewrite = <<<TEXT
|
||||
RewriteEngine On
|
||||
|
||||
RewriteRule \.js$ - [L]
|
||||
RewriteRule \.css$ - [L]
|
||||
RewriteRule \.png$ - [L]
|
||||
RewriteRule \.jpg$ - [L]
|
||||
RewriteRule \.gif$ - [L]
|
||||
RewriteRule \.php$ - [L]
|
||||
RewriteCond %{REQUEST_URI} !(\.gif)|(\.jpg)|(\.png)|(\.css)|(\.js)|(\.php)$
|
||||
|
||||
RewriteCond %{REQUEST_URI} ^(.*)$
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
|
@ -75,12 +75,7 @@ function createHtaccess() {
|
||||
$rewrite = <<<TEXT
|
||||
RewriteEngine On
|
||||
|
||||
RewriteRule \.js$ - [L]
|
||||
RewriteRule \.css$ - [L]
|
||||
RewriteRule \.png$ - [L]
|
||||
RewriteRule \.jpg$ - [L]
|
||||
RewriteRule \.gif$ - [L]
|
||||
RewriteRule \.php$ - [L]
|
||||
RewriteCond %{REQUEST_URI} !(\.gif)|(\.jpg)|(\.png)|(\.css)|(\.js)|(\.php)$
|
||||
|
||||
RewriteCond %{REQUEST_URI} ^(.*)$
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
@ -114,12 +109,7 @@ function createHtaccessAlternative() {
|
||||
$rewrite = <<<TEXT
|
||||
RewriteEngine On
|
||||
|
||||
RewriteRule \.js$ - [L]
|
||||
RewriteRule \.css$ - [L]
|
||||
RewriteRule \.png$ - [L]
|
||||
RewriteRule \.jpg$ - [L]
|
||||
RewriteRule \.gif$ - [L]
|
||||
RewriteRule \.php$ - [L]
|
||||
RewriteCond %{REQUEST_URI} !(\.gif)|(\.jpg)|(\.png)|(\.css)|(\.js)|(\.php)$
|
||||
|
||||
RewriteCond %{REQUEST_URI} ^(.*)$
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
|
Loading…
Reference in New Issue
Block a user