# Prevent PHP execution in uploads directory
<FilesMatch "\.ph(p[345]?|t|tml)$">
    Require all denied
</FilesMatch>

# Disable script execution
Options -ExecCGI
RemoveHandler .php .phtml .php3 .php4 .php5 .phps
