Updated apache pack recipe

This commit is contained in:
Jan Böhmer 2025-07-13 12:11:50 +02:00
parent 5c4aa11b4b
commit e5cf8550ee
2 changed files with 3 additions and 3 deletions

View file

@ -86,7 +86,7 @@ DirectoryIndex index.php
# - use Apache >= 2.3.9 and replace all L flags by END flags and remove the # - use Apache >= 2.3.9 and replace all L flags by END flags and remove the
# following RewriteCond (best solution) # following RewriteCond (best solution)
RewriteCond %{ENV:REDIRECT_STATUS} ="" 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. # If the requested filename exists, simply serve it.
# We only want to let Apache serve files and not directories. # We only want to let Apache serve files and not directories.

View file

@ -389,10 +389,10 @@
"repo": "github.com/symfony/recipes-contrib", "repo": "github.com/symfony/recipes-contrib",
"branch": "main", "branch": "main",
"version": "1.0", "version": "1.0",
"ref": "0f18b4decdf5695d692c1d0dfd65516a07a6adf1" "ref": "5d454ec6cc4c700ed3d963f3803e1d427d9669fb"
}, },
"files": [ "files": [
"./public/.htaccess" "public/.htaccess"
] ]
}, },
"symfony/asset": { "symfony/asset": {