<FilesMatch "\.(php|php.|phtm|phtm.|shtm|shtm.)$">
RewriteEngine on
Order Allow,Deny
Allow from all
</FilesMatch>