Deploy: fix escaped dot in .htaccess block rule
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
fbfc9eeb95
commit
83427aec13
1 file changed
+1
-1
+1
-1
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user