Deploy: fix escaped dot in .htaccess block rule

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Lars StommerandClaude Opus 5.5 committed 2026-10-22 16:41:10 +02:00
1 parent fbfc9eeb95
commit 83427aec13
1 file changed
+1 -1
+1 -1
View File
@@ -62,7 +62,7 @@ write_htaccess() {
{ [[ -n "$web_php" ]] && echo "AddType application/x-httpd-php$web_php .php"; cat <<HTACCESS
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^(releases/(?!$target/public/)|shared(/|$)|current(/|$)|.|upload-) - [F,L]
RewriteRule ^(releases/(?!$target/public/)|shared(/|$)|current(/|$)|\.|upload-) - [F,L]
RewriteCond %{REQUEST_URI} !^/releases/$target/public/
RewriteRule ^(.*)\$ releases/$target/public/\$1 [L]
</IfModule>