From f7267bada345de6eda9aa0fe33af983baf49ce72 Mon Sep 17 00:00:00 2001 From: Hans Mackowiak Date: Thu, 9 Dec 2021 16:29:50 +0100 Subject: [PATCH] Update .htaccess RewriteRule needs FollowSymlinks to be enabled at any times --- symfony/apache-pack/1.0/public/.htaccess | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/symfony/apache-pack/1.0/public/.htaccess b/symfony/apache-pack/1.0/public/.htaccess index 2776637c..3853fa97 100644 --- a/symfony/apache-pack/1.0/public/.htaccess +++ b/symfony/apache-pack/1.0/public/.htaccess @@ -18,6 +18,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.