mirror of
https://github.com/silverstripe/silverstripe-installer
synced 2024-10-22 17:05:33 +02:00
#1987 - Fixed sitename/?url=sitename bug
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/phpinstaller/trunk@49144 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
530c841c7a
commit
561b490b98
@ -776,6 +776,10 @@ PHP
|
|||||||
else $baseClause = "";
|
else $baseClause = "";
|
||||||
|
|
||||||
$rewrite = <<<TEXT
|
$rewrite = <<<TEXT
|
||||||
|
<IfModule mod_dir.c>
|
||||||
|
DirectorySlash Off
|
||||||
|
</IfModule>
|
||||||
|
|
||||||
RewriteEngine On
|
RewriteEngine On
|
||||||
$baseClause
|
$baseClause
|
||||||
RewriteCond %{REQUEST_URI} !(\.gif)|(\.jpg)|(\.png)|(\.css)|(\.js)|(\.php)$
|
RewriteCond %{REQUEST_URI} !(\.gif)|(\.jpg)|(\.png)|(\.css)|(\.js)|(\.php)$
|
||||||
@ -810,6 +814,10 @@ TEXT
|
|||||||
if($base != '.') $baseClause = "RewriteBase $base\n";
|
if($base != '.') $baseClause = "RewriteBase $base\n";
|
||||||
|
|
||||||
$rewrite = <<<TEXT
|
$rewrite = <<<TEXT
|
||||||
|
<IfModule mod_dir.c>
|
||||||
|
DirectorySlash Off
|
||||||
|
</IfModule>
|
||||||
|
|
||||||
RewriteEngine On
|
RewriteEngine On
|
||||||
$baseClause
|
$baseClause
|
||||||
RewriteCond %{REQUEST_URI} !(\.gif)|(\.jpg)|(\.png)|(\.css)|(\.js)|(\.php)$
|
RewriteCond %{REQUEST_URI} !(\.gif)|(\.jpg)|(\.png)|(\.css)|(\.js)|(\.php)$
|
||||||
|
Loading…
Reference in New Issue
Block a user