# ============================================================================
# SEGURIDAD DE DIRECTORIO UPLOADS
# Impide la ejecución de cualquier script (PHP, CGI, Perl, Python)
# ============================================================================

Options -Indexes -ExecCGI

<IfModule mod_php.c>
    php_flag engine off
</IfModule>
<IfModule mod_php7.c>
    php_flag engine off
</IfModule>
<IfModule mod_php8.c>
    php_flag engine off
</IfModule>

<FilesMatch "\.(php|php3|php4|php5|php7|php8|phtml|pl|py|jsp|asp|htm|html|shtml|sh|cgi|exe)$">
    Require all denied
</FilesMatch>