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

Commit 680f09b

Browse files
committed
fix rewrite base detection for root of alias
1 parent 44144da commit 680f09b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/.htaccess

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ DirectoryIndex app.php
1515
# work in environments without path prefix as well, providing a safe, one-size
1616
# fits all solution. But as you do not need it in this case, you can comment
1717
# the following 2 lines to eliminate the overhead.
18-
RewriteCond %{REQUEST_URI}::$1 ^(/.+)/(.+)::\2$
18+
RewriteCond %{REQUEST_URI}::$1 ^(/.+)/(.*)::\2$
1919
RewriteRule ^(.*) - [E=BASE:%1]
2020

2121
# Redirect to URI without front controller to prevent duplicate content

0 commit comments

Comments
 (0)