Options -Indexes -ExecCGI

RemoveHandler .php .php3 .php4 .php5 .php7 .php8 .phtml .phar .pht .shtml .cgi .pl .py .sh .asp .aspx .jsp
RemoveType .php .php3 .php4 .php5 .php7 .php8 .phtml .phar .pht .shtml .cgi .pl .py .sh .asp .aspx .jsp

<FilesMatch "(^\.|\.user\.ini$|\.(php|php3|php4|php5|php7|php8|phtml|phar|pht|shtml|cgi|pl|py|sh|asp|aspx|jsp)$)">
    <IfModule mod_authz_core.c>
        Require all denied
    </IfModule>
    <IfModule !mod_authz_core.c>
        Deny from all
    </IfModule>
</FilesMatch>
