In my MVC application, I use the uri router, which determines which controller and action to use and detects the GET parameters from the uri. I wrote it so that it takes both of these forms:
http:
http:
Now, what I would like to do is use mod_rewrite to redirect the form ?p=vto the form /p/v(the reasoning is purely cosmetic, GET forms use the form ?x=y). I was completely fixated on how I would do this, but I have an idea, I need to use it ${QUERY_STRING}, but I'm not sure how to do it.
source
share