diff --git a/.htaccess b/.htaccess
index bedf519ffeaf624bf61c4ace4226431e817b0a1e..ce35f6d153cfa2878f5060b73cfea2dd0015727d 100644
--- a/.htaccess
+++ b/.htaccess
@@ -3,7 +3,7 @@
 #
 
 # Protect files and directories from prying eyes.
-<FilesMatch "(\.(engine|inc|install|module|sh|.*sql|theme|tpl|xtmpl)|code-style\.pl|Entries.*|Repository|Root)$">
+<FilesMatch "(\.(engine|inc|install|module|sh|.*sql|theme|tpl(\.php)?|xtmpl)|code-style\.pl|Entries.*|Repository|Root)$">
   Order deny,allow
   Deny from all
 </FilesMatch>