RewriteEngine On
RewriteRule ^api/(.*)$ index.php [QSA,L]
