Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/roundcube/roundcubemail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/temp
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2015-05-07 15:13:02 +0300
committerThomas Bruederli <thomas@roundcube.net>2015-05-07 15:13:02 +0300
commit585ee9e1813451c5afd1d897a1d281ee39611bbd (patch)
treed27751cc1e9422f6cc54866e3af1d1446402842b /temp
parent012555c1cef35601b543cde67bff8726de97eb39 (diff)
Improve directory protection for Apache 2.4
Diffstat (limited to 'temp')
-rw-r--r--temp/.htaccess7
1 files changed, 6 insertions, 1 deletions
diff --git a/temp/.htaccess b/temp/.htaccess
index 896e680ba..43e24edc1 100644
--- a/temp/.htaccess
+++ b/temp/.htaccess
@@ -1,2 +1,7 @@
# deny webserver access to this directory
-Deny from all
+<ifModule mod_authz_core.c>
+ Require all denied
+</ifModule>
+<ifModule !mod_authz_core.c>
+ Deny from all
+</ifModule>