RewriteEngine On

# Route /api/* requests to the PHP API handler
RewriteCond %{REQUEST_URI} ^/api/
RewriteRule ^api/(.*)$ api/index.php [L,QSA]
