Options -Indexes
RewriteEngine On
RewriteRule ^(?:config\.php|config\.example\.php|lib/|sql/) - [F,L,NC]
<FilesMatch "\.(sql|log|ini)$">
  Require all denied
</FilesMatch>
