Skip to content

Commit 921ebb1

Browse files
committed
Commented +SymLinksIfOwnerMatch as it causes issues on some setups
1 parent 5505439 commit 921ebb1

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

.htaccess

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
Options +SymLinksIfOwnerMatch -Indexes
2-
31
<Files *.php>
42
Order Deny,Allow
53
Deny from all
@@ -65,8 +63,8 @@ RewriteRule ^ index.php [L]
6563
Header set Cache-Control "max-age=2592000"
6664
</FilesMatch>
6765

68-
<FilesMatch "\.(jpg|jpeg|png|gif|swf|webp)$">
69-
Header set Cache-Control "max-age=2592000"
66+
<FilesMatch "\.(jpg|jpeg|png|gif|swf|webp)$">
67+
Header set Cache-Control "max-age=2592000"
7068
</FilesMatch>
7169

7270
<FilesMatch "\.(ttf|ttc|otf|eot|woff|woff2|font.css|css|js)$">

admin/.htaccess

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#Options +SymLinksIfOwnerMatch -Indexes
2-
31
<IfModule dir_module>
42
DirectoryIndex index.php
53
</IfModule>

public/.htaccess

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Options +SymLinksIfOwnerMatch -Indexes
1+
#Options +SymLinksIfOwnerMatch -Indexes
22

33
<Files *.php>
44
Order Deny,Allow

0 commit comments

Comments
 (0)