Options -Indexes

<FilesMatch "\.(ttf|otf|woff|woff2|css|js|png|jpg|jpeg|webp|svg)$">
    <IfModule mod_authz_core.c>
        Require all granted
    </IfModule>
    <IfModule !mod_authz_core.c>
        Order allow,deny
        Allow from all
    </IfModule>
</FilesMatch>

<FilesMatch "\.(php|phtml|phar|cgi|pl|py|sh|sql|db|sqlite|ini|env|log|bak|zip|rar|7z)$">
    <IfModule mod_authz_core.c>
        Require all denied
    </IfModule>
    <IfModule !mod_authz_core.c>
        Order allow,deny
        Deny from all
    </IfModule>
</FilesMatch>
