diff --git a/.htaccess b/.htaccess index 5304270149..82a79c9cd2 100644 --- a/.htaccess +++ b/.htaccess @@ -1,5 +1,12 @@ RewriteEngine On +RewriteRule ^(.*/)?\.(.+)$ - [L,F] +RewriteRule ^codeception(.*?).yml$ - [L,F] +RewriteRule ^composer(.*?).(json|lock)$ - [L,F] +RewriteRule ^files/.+\.php$ - [L,F] +RewriteRule ^files/(attach|config|cache/store)/.+\.php$ - [L,F] +RewriteRule ^files/(env|member_extra_info/(new_message_flags|point))/ - [L,F] + # reserve XE Layout Template Source File (*.html) RewriteRule ^(layouts|m.layouts|files/faceOff)/(.+)\.html$ - [L,F] # reserve XE Template Source Files (*.html)