# Route every /vms/* request into the front controller.
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [QSA,L]

# The API returns JSON only; never serve the config or the logs.
<FilesMatch "^(config\.php)$">
    Require all denied
</FilesMatch>
RedirectMatch 404 /logs/
