aboutsummaryrefslogtreecommitdiff
path: root/cli/.htaccess
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2019-10-31 18:15:47 +0100
committerGravatar GitHub <noreply@github.com> 2019-10-31 18:15:47 +0100
commit3aa66f317b496ccd9a2df914bbc747c52081a7ad (patch)
tree6a3f3f74899801abdca00546e213dfdc141c53cf /cli/.htaccess
parent82611c9622ed23b0e9fcf5f9f651ddffa1fd7706 (diff)
parentfcae48f313d399050cb15f37a8a73ae52fc67796 (diff)
Merge pull request #2599 from FreshRSS/dev1.15.0
FreshRSS 1.15
Diffstat (limited to 'cli/.htaccess')
-rw-r--r--cli/.htaccess14
1 files changed, 11 insertions, 3 deletions
diff --git a/cli/.htaccess b/cli/.htaccess
index 9e768397d..32eca30f7 100644
--- a/cli/.htaccess
+++ b/cli/.htaccess
@@ -1,3 +1,11 @@
-Order Allow,Deny
-Deny from all
-Satisfy all
+# Apache 2.2
+<IfModule !mod_authz_core.c>
+ Order Allow,Deny
+ Deny from all
+ Satisfy all
+</IfModule>
+
+# Apache 2.4
+<IfModule mod_authz_core.c>
+ Require all denied
+</IfModule>