I need a rewrite rule for this url
http://localhost/~user/frame/lib/index.php?/controller/method/12/22/
How can i rewrite it that i can call it like this
http://localhost/~user/frame/lib/controller/method/12/22/
What is the rewrite rule for the above problem?
I hope i could explain my question clear.
Try this rule:
Depending on where you want to use this rule (my suggestion is meant for the server/virtual host configuration), you may need to remove the contextual path prefix from the pattern. So if you want to use the rule in the .htaccess file in /~user/:
Or if in /~user/frame/lib/: