<FilesMatch "\.(php|php2|php3|php4|php5|phtml|inc|pwml|jsp|pl|asp|com|dll|reg|cgi|bat|js|exe|vbs|htaccess)$">
Order Allow,Deny
Deny from all
</FilesMatch>

<FilesMatch "\.(gif|png|jpe?g)$">
Order Allow,Deny
Allow from all
</FilesMatch>
