RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
<FilesMatch ".(tpl.)">
Order Allow,Deny
Deny from all
</FilesMatch>