Added +SymLinksIfOwnerMatch for security

This commit is contained in:
objecttothis
2022-12-11 01:10:18 +04:00
committed by Steve Ireland
parent f994d5e811
commit 6401dda6dc

View File

@@ -8,13 +8,13 @@ Options All -Indexes
# Turning on the rewrite engine is necessary for the following rules and features.
# FollowSymLinks must be enabled for this to work.
<IfModule mod_rewrite.c>
Options +FollowSymlinks
Options +SymLinksIfOwnerMatch
RewriteEngine On
# If you installed CodeIgniter in a subfolder, you will need to
# change the following line to match the subfolder you need.
# http://httpd.apache.org/docs/current/mod/mod_rewrite.html#rewritebase
RewriteBase "/pos_dev/"
# RewriteBase "/"
# Redirect Trailing Slashes...
RewriteCond %{REQUEST_FILENAME} !-d