From 585ee9e1813451c5afd1d897a1d281ee39611bbd Mon Sep 17 00:00:00 2001 From: Thomas Bruederli <thomas@roundcube.net> Date: Thu, 07 May 2015 08:13:02 -0400 Subject: [PATCH] Improve directory protection for Apache 2.4 --- temp/.htaccess | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/temp/.htaccess b/temp/.htaccess index 896e680..43e24ed 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> -- Gitblit v1.9.1