Use SymLinksIfOwnerMatch by default. (#1570)

This commit is contained in:
Oliver Stark
2024-01-01 22:11:23 +01:00
committed by GitHub
parent fd8b5e1473
commit 209c667e5a

View File

@@ -9,7 +9,7 @@ DirectoryIndex index.php
# feature in your server configuration. Uncomment the following line if you
# install assets as symlinks or if you experience problems related to symlinks
# when compiling LESS/Sass/CoffeScript assets.
# Options +FollowSymlinks
# Options +SymLinksIfOwnerMatch
# Disabling MultiViews prevents unwanted negotiation, e.g. "/index" should not resolve
# to the front controller "/index.php" but be rewritten to "/index.php/index".
@@ -20,7 +20,7 @@ DirectoryIndex index.php
<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
Options +SymLinksIfOwnerMatch
RewriteEngine On