Skip to content

Commit 366885b

Browse files
authored
Fix RewriteRule in .htaccess
.* requires parentheses for the backreference to work. See Azure-Samples/laravel-tasks#10
1 parent a53fe6e commit 366885b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/app-service/containers/configure-language-php.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ The default PHP image for App Service uses Apache, and it doesn't let you custom
8383
<IfModule mod_rewrite.c>
8484
RewriteEngine on
8585
86-
RewriteRule ^.*$ /public/$1 [NC,L,QSA]
86+
RewriteRule ^(.*)$ /public/$1 [NC,L,QSA]
8787
</IfModule>
8888
```
8989

0 commit comments

Comments
 (0)