I have many virtual hosts configured but I would like a rewrite rule that forwards any requests to a particular host internally to a new url that a java servlet understands.
http://somedomain/pages/anything.html => http://somedomain/11/pages/anything.html
I may also need to do...
http://somedomain/pages/anything.html => http://anotherdomain/11/pages/anything.html
but I need the first of these to do it before I pass the request on to my servlet connector (mod_jk).
I can get it to work with redirects but I can not figure out how to do it internally??
Thanks!