From 4afe437c81b5068db8b801aafd41acdfcaaf5d90 Mon Sep 17 00:00:00 2001 From: ufundo Date: Wed, 14 Aug 2024 18:08:27 +0100 Subject: [PATCH] Disable FollowSymLinks by default This may not be allowed on many webhosts, and shouldn't be needed in a "default" install. --- setup/res/htaccess.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup/res/htaccess.txt b/setup/res/htaccess.txt index 3fd51c17ef93..3f92ecaa009a 100644 --- a/setup/res/htaccess.txt +++ b/setup/res/htaccess.txt @@ -16,8 +16,9 @@ # Don't show directory listings for URLs which map to a directory. Options -Indexes -# Follow symbolic links in this directory. -Options +FollowSymLinks +# Uncomment if you need to follow symbolic links within your Standalone install +# (Disabled by default as some webhosts may not allow this) +# Options +FollowSymLinks # Make CiviCRM handle any 404 errors. ErrorDocument 404 /index.php