# Allow image files to be served directly
Options -Indexes

<FilesMatch "\.(jpg|jpeg|png|gif|webp|ico|svg)$">
    Allow from all
</FilesMatch>

# Block PHP execution in uploads folder (security)
<FilesMatch "\.php$">
    Order allow,deny
    Deny from all
</FilesMatch>

# Disable rewrite in this folder
RewriteEngine Off
