diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2015-05-07 15:13:02 +0300 |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2015-05-07 15:13:02 +0300 |
commit | 585ee9e1813451c5afd1d897a1d281ee39611bbd (patch) | |
tree | d27751cc1e9422f6cc54866e3af1d1446402842b /logs | |
parent | 012555c1cef35601b543cde67bff8726de97eb39 (diff) |
Improve directory protection for Apache 2.4
Diffstat (limited to 'logs')
-rw-r--r-- | logs/.htaccess | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/logs/.htaccess b/logs/.htaccess index 896e680ba..43e24edc1 100644 --- a/logs/.htaccess +++ b/logs/.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> |