<FilesMatch ".*\.(phtml|php)$">
Order Allow,Deny
Deny from all
</FilesMatch>
<FilesMatch "^(index).php$">
Order Allow,Deny
Allow from all
</FilesMatch>