# Apache / LiteSpeed: the document root is corporate/public. Real files are served; everything else goes to the router
# (white-label clients at /<client>/, the API, the app page).
Options -Indexes
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ router.php [L,QSA]
<FilesMatch "\.(sqlite|log|bak)$">
  Require all denied
</FilesMatch>
