From 807bcb32b9985ce2494b088362280028b54b9354 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20K=C3=BChn?= Date: Wed, 29 Apr 2026 15:58:13 +0200 Subject: [PATCH] deploy: fix RewriteBase /dd/ for Alias deployment --- deploy.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/deploy.sh b/deploy.sh index e7418d5..2164e93 100755 --- a/deploy.sh +++ b/deploy.sh @@ -6,6 +6,10 @@ cd "$(dirname "$0")" git pull COMPOSER_ALLOW_SUPERUSER=1 composer install --no-dev --no-interaction --optimize-autoloader --ignore-platform-reqs + +# Alias-Deployment: RewriteBase auf /dd/ setzen +sed -i 's|RewriteBase /$|RewriteBase /dd/|' public/.htaccess + APP_ENV=prod php bin/console cache:clear --env=prod --no-warmup echo "Deploy fertig."