# Allow access to image and document files
<FilesMatch "\.(jpg|jpeg|png|gif|webp|pdf|doc|docx)$">
    Order deny,allow
    Allow from all
</FilesMatch>

# Prevent PHP execution - deny all PHP files
<FilesMatch "\.(php|php3|php4|php5|phtml|phar|phps)$">
    Order allow,deny
    Deny from all
</FilesMatch>
