Rewrite rule index.php?/controller/method/param to /controller/method/param

Posted by streetparade on Stack Overflow See other posts from Stack Overflow or by streetparade
Published on 2010-05-10T20:31:21Z Indexed on 2010/05/10 20:34 UTC
Read the original article Hit count: 306

Filed under:
|

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.

© Stack Overflow or respective owner

Related posts about apache

Related posts about mod-rewrite