From 49c4dd197e0ef2809e1b9d7022ad09a1a2e99a09 Mon Sep 17 00:00:00 2001 From: Tyler Cosgrove Date: Sun, 31 Jan 2016 11:48:53 -0500 Subject: [PATCH] Deny access to `tests` folder --- webserver-configs/htaccess.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webserver-configs/htaccess.txt b/webserver-configs/htaccess.txt index a5f6b9c96c..c82ca8fa6b 100644 --- a/webserver-configs/htaccess.txt +++ b/webserver-configs/htaccess.txt @@ -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