Options -Indexes
DirectoryIndex index.php
<FilesMatch "(^\.|\.(sql|md|ini|log|json|csv|txt|zip|sh)$)">
 Require all denied
</FilesMatch>

# SGV: additional access protection for Apache/LiteSpeed
RewriteEngine On
RewriteRule ^(?:lib|tests|tools)(?:/|$) - [F,L,NC]
RewriteRule (?:^|/)(?:\.[^/]*|[^/]*\.(?:sql|md|ini|log|json|csv|txt|zip|sh))$ - [F,L,NC]
