Options -Indexes
<FilesMatch "(?i)\.(php[0-9]?|phtml|phar|cgi|pl|py|sh|sql|log|json|bak|zip|tar|gz)$">
  <IfModule mod_authz_core.c>
    Require all denied
  </IfModule>
  <IfModule !mod_authz_core.c>
    Deny from all
  </IfModule>
</FilesMatch>
