This is my current rewrite:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule api/rest/v1.0/(.*)$ api/rest/v1.0/index.php?request=$1 [QSA,NC,L]
</IfModule>
but if I send this: http://localhost/api/rest/v1.0/users/list?user_id=123abc&api_key=12
as a test, I get the following QUERY_STRING
$_SERVER parameter:
"QUERY_STRING": "request=users\/list&user_id=123abc",
I’m pretty new to RewriteRules and although I have a basic understanding of what is going on, I can’t understand why I’d be able to see user_id and not api_key (or any extra parameters after user_id)
Thanks for any help