Options -Indexes

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule ^(content|src|logs)(/|$) - [F,L]
</IfModule>

<FilesMatch "^(config\.php|cron\.php|schema\.sql|.*\.(json|log|lock|sql|md))$">
    <IfModule mod_authz_core.c>
        Require all denied
    </IfModule>
    <IfModule !mod_authz_core.c>
        Order allow,deny
        Deny from all
    </IfModule>
</FilesMatch>
