We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b41f97 commit cc11f41Copy full SHA for cc11f41
data/.htaccess
@@ -1,2 +1,8 @@
1
-Deny from all
+<IfModule mod_authz_core.c> # Apache 2.4
2
+ Require all denied
3
+</IfModule>
4
+<IfModule ! mod_authz_core.c> # Apache 2.2
5
+ Deny from all
6
7
+
8
Options -Indexes
data/media/.htaccess
@@ -1,7 +1,18 @@
-Allow from all
-Options -Indexes
+ Require all granted
+ Allow from all
<Files *.php>
- Order Deny,Allow
- Deny from all
-</Files>
9
+ <IfModule mod_authz_core.c> # Apache 2.4
10
11
+ </IfModule>
12
+ <IfModule ! mod_authz_core.c> # Apache 2.2
13
14
+ Order Deny,Allow
15
16
+</Files>
17
18
+Options -Indexes
0 commit comments