Forum Moderators: phranque
I need to find a way to rewrite my QUERY_STRING along with my REQUEST_URI. The original URL will look like this:
[foo.com...]
and needs to be re-written to this:
[foo.com...]
I have successfully use mod_rewrite for the REQUEST_URI like so:
RewriteRule (.*)jhtml(.*) $1jsp$2 [R]
That part is working just fine, and I am able to get [foo.com...] So how can I similarly modify the QUERY_STRING? Note that there are a number of other parameters in the query (and I don't know for certain where the page param will appear) so I can't just strip off the query string and append .jsp on the end.
Any advice would be appreciated.