Options -Indexes
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule \.(?:php[0-9]?|phtml|pht|phar|cgi|pl|py|sh|shtml)$ - [F,L,NC]
</IfModule>
<FilesMatch "\.(?:php[0-9]?|phtml|pht|phar|cgi|pl|py|sh|shtml)$">
  Require all denied
</FilesMatch>
