# Serve only image files from this folder - block any script execution
# even if someone manages to upload a disguised file.
<FilesMatch "\.(php|phtml|php3|php4|php5|php7|pl|py|cgi|asp|aspx|sh|exe)$">
    <IfModule mod_authz_core.c>
        Require all denied
    </IfModule>
    <IfModule !mod_authz_core.c>
        Deny from all
    </IfModule>
</FilesMatch>
Options -ExecCGI
AddType text/plain .php .phtml .php3 .php4 .php5 .php7 .pl .py .cgi .asp .aspx .sh
