diff --git a/public/.htaccess b/public/.htaccess index d3e13707..ee3b5450 100644 --- a/public/.htaccess +++ b/public/.htaccess @@ -54,6 +54,10 @@ DirectoryIndex index.php + # This Option needs to be enabled for RewriteRule, otherwise it will show an error like + # 'Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden' + Options +FollowSymlinks + RewriteEngine On # Determine the RewriteBase automatically and set it as environment variable. diff --git a/symfony.lock b/symfony.lock index edb7d4f0..e0168550 100644 --- a/symfony.lock +++ b/symfony.lock @@ -401,12 +401,12 @@ "version": "1.0", "recipe": { "repo": "github.com/symfony/recipes-contrib", - "branch": "master", + "branch": "main", "version": "1.0", - "ref": "9d254a22efca7264203eea98b866f16f944b2f09" + "ref": "efb318193e48384eb5c5aadff15396ed698f8ffc" }, "files": [ - "./public/.htaccess" + "public/.htaccess" ] }, "symfony/asset": {