# Clean endpoints: /api/topup and /api/namecheck
Options -Indexes
<IfModule mod_rewrite.c>
    RewriteEngine On
    # pass the Authorization header through to PHP (CGI/FastCGI hosts)
    RewriteCond %{HTTP:Authorization} .
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

    RewriteRule ^topup/?$     topup.php     [L,QSA]
    RewriteRule ^namecheck/?$ namecheck.php [L,QSA]
</IfModule>
