Skip to content

Commit f04f6d0

Browse files
authored
Fix RewriteRule in .htaccess
.* requires parentheses for the backreference to work.
1 parent ea2c3ac commit f04f6d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.htaccess

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<IfModule mod_rewrite.c>
22
RewriteEngine on
33

4-
RewriteRule ^.*$ /public/$1 [NC,L,QSA]
5-
</IfModule>
4+
RewriteRule ^(.*)$ /public/$1 [NC,L,QSA]
5+
</IfModule>

0 commit comments

Comments
 (0)