From 304844d33a82446991e1cf537fbb774af6e3e5f2 Mon Sep 17 00:00:00 2001 From: Awilum Date: Mon, 9 Sep 2019 08:34:20 +0300 Subject: [PATCH] feat(core): Add block access to specific file types for these user folders #186 --- .htaccess | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.htaccess b/.htaccess index 180b2b7b..10c108da 100755 --- a/.htaccess +++ b/.htaccess @@ -54,7 +54,7 @@ RewriteRule ^(\.git|flextype)/(.*) error [F] # Block access to specific file types for these system folders RewriteRule ^(flextype|vendor)/(.*)\.(txt|xml|md|html|yaml|yml|php|pl|py|cgi|sh|bat)$ error [F] # Block access to specific file types for these user folders -RewriteRule ^(site)/(.*)\.(txt|md|yaml|yml|php|pl|py|cgi|twig|sh|bat)$ error [F] +RewriteRule ^(site)/(.*)\.(txt|md|yaml|yml|html|php|pl|py|cgi|twig|sh|bat)$ error [F] # Block all direct access to .md files: RewriteRule \.md$ error [F] # Block all direct access to files and folders beginning with a dot