RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ index.php [L]

<FilesMatch "^(config\.php|db\.json|license_private\.pem|license_public\.pem)$">
  Require all denied
</FilesMatch>
