Options -Indexes

<FilesMatch "\.(php|php[0-9]?|phtml|phar|cgi|pl|py|sh|asp|aspx|jsp)$">
  Require all denied
</FilesMatch>

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

<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteRule \.(php|php[0-9]?|phtml|phar|cgi|pl|py|sh|asp|aspx|jsp)$ - [F,L]
</IfModule>
