# Account service: api.php and the v1/* relay answer; nothing else is readable.
Options -Indexes
<FilesMatch "^(config\.php|admins\.php|_.*\.php|relay_anthropic\.php|README\.md|\.htaccess)$">
  Require all denied
</FilesMatch>
RewriteEngine On
RewriteBase /account/
# Keep the Authorization header for PHP (shared hosts often strip it).
RewriteCond %{HTTP:Authorization} .
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteRule ^v1/(.*)$ relay.php?path=$1 [QSA,L]
