Upgraded recipe of symfony/apache-pack

This commit is contained in:
Jan Böhmer 2023-02-11 22:29:32 +01:00
parent c75cdecbe8
commit ab7c02e6cc
2 changed files with 7 additions and 3 deletions

View file

@ -54,6 +54,10 @@ DirectoryIndex index.php
</Files>
<IfModule mod_rewrite.c>
# 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.