#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:
sminnee 2008-02-06 23:24:27 +00:00
parent 530c841c7a
commit 561b490b98

View File

@ -776,6 +776,10 @@ PHP
else $baseClause = "";
$rewrite = <<<TEXT
<IfModule mod_dir.c>
DirectorySlash Off
</IfModule>
RewriteEngine On
$baseClause
RewriteCond %{REQUEST_URI} !(\.gif)|(\.jpg)|(\.png)|(\.css)|(\.js)|(\.php)$
@ -810,6 +814,10 @@ TEXT
if($base != '.') $baseClause = "RewriteBase $base\n";
$rewrite = <<<TEXT
<IfModule mod_dir.c>
DirectorySlash Off
</IfModule>
RewriteEngine On
$baseClause
RewriteCond %{REQUEST_URI} !(\.gif)|(\.jpg)|(\.png)|(\.css)|(\.js)|(\.php)$