# En esta carpeta solo se guardan imagenes subidas desde Configuracion.
# Si alguien lograra colocar aqui un archivo con codigo, estas reglas evitan
# que el servidor lo ejecute: lo trataria como texto plano.

# Nada de PHP ni de otros lenguajes ejecutables
<FilesMatch "(?i)\.(php|php[0-9]?|phtml|phps|phar|cgi|pl|py|asp|aspx|jsp|sh|exe)$">
    Order allow,deny
    Deny from all
</FilesMatch>

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

# Por si el modulo de PHP se maneja por handler
<IfModule mod_mime.c>
    RemoveHandler .php .phtml .php3 .php4 .php5 .php7 .php8 .phar
    RemoveType    .php .phtml .php3 .php4 .php5 .php7 .php8 .phar
</IfModule>

# No listar el contenido de la carpeta
Options -Indexes -ExecCGI
