Skip to content

Commit

Permalink
Merge pull request #30866 from ufundo/dont-follow-symlinks-by-default
Browse files Browse the repository at this point in the history
Disable FollowSymLinks by default in Standalone .htaccess
  • Loading branch information
totten authored Oct 18, 2024
2 parents 12cd744 + 4afe437 commit 00b5091
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions setup/res/htaccess.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 00b5091

Please sign in to comment.