mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-04-11 02:21:10 -04:00
Added +SymLinksIfOwnerMatch for security
This commit is contained in:
committed by
Steve Ireland
parent
f994d5e811
commit
6401dda6dc
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user