diff --git a/.htaccess b/.htaccess index 0e4d108b3..e4c825cb8 100644 --- a/.htaccess +++ b/.htaccess @@ -14,8 +14,15 @@ ## ## Black list protected files ## - RewriteRule themes/.*/(layouts|pages|partials)/.*.htm index.php [L,NC] - RewriteRule uploads/protected/.* index.php [L,NC] + RewriteRule ^themes/.*/(layouts|pages|partials)/.*.htm index.php [L,NC] + RewriteRule ^uploads/protected/.* index.php [L,NC] + RewriteRule ^bootstrap/.* index.php [L,NC] + RewriteRule ^config/.* index.php [L,NC] + RewriteRule ^vendor/.* index.php [L,NC] + RewriteRule ^storage/cms/.* index.php [L,NC] + RewriteRule ^storage/logs/.* index.php [L,NC] + RewriteRule ^storage/temp/.* index.php [L,NC] + RewriteRule ^storage/framework/.* index.php [L,NC] ## ## White listed folders and files