From ac2492958c2f04d53b03ee3994fdd6879ca7705e Mon Sep 17 00:00:00 2001 From: Romain Quetiez Date: Thu, 9 Jun 2016 15:11:16 +0000 Subject: [PATCH] #1162 Protect data/log against reading (support of apache 2.4) -requires testing SVN:trunk[4192] --- data/.htaccess | 14 +++++++++++++- log/.htaccess | 14 +++++++++++++- 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/data/.htaccess b/data/.htaccess index 14249c50b..89682e1f9 100644 --- a/data/.htaccess +++ b/data/.htaccess @@ -1 +1,13 @@ -Deny from all \ No newline at end of file +# Apache 2.4 + +Require all denied + + +# Apache 2.2 + +deny from all +Satisfy All + + +# Apache 2.2 and 2.4 +IndexIgnore * diff --git a/log/.htaccess b/log/.htaccess index 14249c50b..89682e1f9 100644 --- a/log/.htaccess +++ b/log/.htaccess @@ -1 +1,13 @@ -Deny from all \ No newline at end of file +# Apache 2.4 + +Require all denied + + +# Apache 2.2 + +deny from all +Satisfy All + + +# Apache 2.2 and 2.4 +IndexIgnore *