I want to achieve the following:
There is one DMZ-proxy over which we want to access multiple application-servers, represented by mod_jk workers.
The web-context needs to be the same on all application servers, since they run the same application. We just want to access different servers via a additional "folder" within the URL.
e.g.:
some-fancy-url.com/hh1/some/application/
--> JKMount /some/application/* worker-handheld1
some-fancy-url.com/it1/some/application/
--> JKMount /some/application/* worker-localhost
So depending on that keyword between URI and context we want to forward the request to different workers; the application server needs to receive the request without this keyword though.
How can we achieve this? mod_rewrite I suppose?