From e5cf8550eefd77c0d48d9cba7bdeda375a64a620 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Sun, 13 Jul 2025 12:11:50 +0200 Subject: [PATCH] Updated apache pack recipe --- public/.htaccess | 2 +- symfony.lock | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/public/.htaccess b/public/.htaccess index bfaab5de..a13baeee 100644 --- a/public/.htaccess +++ b/public/.htaccess @@ -86,7 +86,7 @@ DirectoryIndex index.php # - use Apache >= 2.3.9 and replace all L flags by END flags and remove the # following RewriteCond (best solution) RewriteCond %{ENV:REDIRECT_STATUS} ="" - RewriteRule ^index\.php(?:/(.*)|$) %{ENV:BASE}/$1 [R=301,L] + RewriteRule ^index\.php(?:/(.*)|$) %{ENV:BASE}/$1 [R=308,L] # If the requested filename exists, simply serve it. # We only want to let Apache serve files and not directories. diff --git a/symfony.lock b/symfony.lock index 3afd638e..fe61ed14 100644 --- a/symfony.lock +++ b/symfony.lock @@ -389,10 +389,10 @@ "repo": "github.com/symfony/recipes-contrib", "branch": "main", "version": "1.0", - "ref": "0f18b4decdf5695d692c1d0dfd65516a07a6adf1" + "ref": "5d454ec6cc4c700ed3d963f3803e1d427d9669fb" }, "files": [ - "./public/.htaccess" + "public/.htaccess" ] }, "symfony/asset": {