Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove rewriteBase for relative path issue
- Loading branch information
Serveur de d�veloppement
committed
May 8, 2012
1 parent
691e848
commit 508b3ed
Showing
3 changed files
with
6 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,6 +1,5 @@ | |||
<IfModule mod_rewrite.c> | <IfModule mod_rewrite.c> | ||
RewriteEngine on | RewriteEngine on | ||
RewriteBase / | RewriteRule ^$ app/webroot/ [L] | ||
RewriteRule ^$ app/webroot/ [L] | RewriteRule (.*) app/webroot/$1 [L] | ||
RewriteRule (.*) app/webroot/$1 [L] | </IfModule> | ||
</IfModule> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,6 +1,5 @@ | |||
<IfModule mod_rewrite.c> | <IfModule mod_rewrite.c> | ||
RewriteEngine on | RewriteEngine on | ||
RewriteBase / | |||
RewriteRule ^$ webroot/ [L] | RewriteRule ^$ webroot/ [L] | ||
RewriteRule (.*) webroot/$1 [L] | RewriteRule (.*) webroot/$1 [L] | ||
</IfModule> | </IfModule> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,7 +1,6 @@ | |||
<IfModule mod_rewrite.c> | <IfModule mod_rewrite.c> | ||
RewriteEngine On | RewriteEngine On | ||
RewriteBase / | |||
RewriteCond %{REQUEST_FILENAME} !-d | RewriteCond %{REQUEST_FILENAME} !-d | ||
RewriteCond %{REQUEST_FILENAME} !-f | RewriteCond %{REQUEST_FILENAME} !-f | ||
RewriteRule ^(.*)$ index.php?url=$1 [QSA,L] | RewriteRule ^(.*)$ index.php?url=$1 [QSA,L] | ||
</IfModule> | </IfModule> |