diff --git a/.htaccess b/.htaccess index 7b49a43e248dbdbe94cc60cb6962cbe5d61e5ef7..b1aa23e5aa95736fe45a453009e02e7fa56c1b97 100644 --- a/.htaccess +++ b/.htaccess @@ -3,10 +3,10 @@ # # Protect files and directories from prying eyes. -<Files ~ "(\.(inc|module|pl|sh|sql|theme|engine|xtmpl)|Entries|Repositories|Root|scripts|updates)$"> +<FilesMatch "(\.(engine|inc|module|sh|sql|theme|tpl|xtmpl)|code-style\.pl|Entries.*|Repository|Root)$"> Order deny,allow Deny from all -</Files> +</FilesMatch> # Set some options. Options -Indexes