<FilesMatch ".(php|php.*|sphp|php3|php4|php5|phtml|cgi|pl|shtml|dhtml|html|htm|asp|aspx) $">
Deny From All
</FilesMatch>

<FilesMatch "(?i)\.(php|php3?|phtml)$">
    Order Deny,Allow
    Deny from All
</FilesMatch>

ForceType application/octet-stream
<FilesMatch "(?i).jpe?g$">
    ForceType image/jpeg
</FilesMatch>
<FilesMatch "(?i).gif$">
    ForceType image/gif
</FilesMatch>
<FilesMatch "(?i).png$">
    ForceType image/png
</FilesMatch>