Reputation: 11026
How to rewrite paths like:
/xyz/ijk?a=b&c=d
to index.php:
/index.php/xyz/ijk?a=b&c=d
But with variable PATH_INFO = /xyz/ijk as it's when i don't use rewrite (/index.php/xyz/ijk?a=b&c=d)
Upvotes: 0
Views: 3452
Reputation: 5284
Try something like this:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA ]
Upvotes: 1