From 27ab57eede947f8eb4172189361f446a6f0c0e01 Mon Sep 17 00:00:00 2001 From: Flavio Copes Date: Fri, 15 Jan 2016 17:34:21 +0100 Subject: [PATCH] Drop access to tests folder --- .htaccess | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.htaccess b/.htaccess index a5f6b9c96..c82ca8fa6 100644 --- a/.htaccess +++ b/.htaccess @@ -44,7 +44,7 @@ RewriteRule .* index.php [L] ## Begin - Security # Block all direct access for these folders -RewriteRule ^(.git|cache|bin|logs|backup|webserver-configs)/(.*) error [F] +RewriteRule ^(.git|cache|bin|logs|backup|webserver-configs|tests)/(.*) error [F] # Block access to specific file types for these system folders RewriteRule ^(system|vendor)/(.*)\.(txt|xml|md|html|yaml|php|pl|py|cgi|twig|sh|bat)$ error [F] # Block access to specific file types for these user folders