Skip to content
This repository was archived by the owner on Nov 27, 2020. It is now read-only.

fix rewrite base detection for root of alias #540

Merged
merged 1 commit into from
May 2, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion web/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ DirectoryIndex app.php
# work in environments without path prefix as well, providing a safe, one-size
# fits all solution. But as you do not need it in this case, you can comment
# the following 2 lines to eliminate the overhead.
RewriteCond %{REQUEST_URI}::$1 ^(/.+)/(.+)::\2$
RewriteCond %{REQUEST_URI}::$1 ^(/.+)/(.*)::\2$
RewriteRule ^(.*) - [E=BASE:%1]

# Redirect to URI without front controller to prevent duplicate content
Expand Down