We have an internet app called X which is being replaced by a new app called Y.
We use Tomcat instances fronted by Apache to serve X and Y, with communications through mod_jk. There is one Tomcat hosting X and another hosting Y.
X and Y have been installed on our production servers - X is being used by our clients, while Y is going through final testing:
JkMount /x loadbalancer-x
JkMount /x/* loadbalancer-x
JkMount /y loadbalancer-y
JkMount /y/* loadbalancer-y
(let's ignore the security-through-obscurity aspect of this!)
When the time comes for Y to go into production, is there a way to map the old URL to the new application, so that www.mysite.com/x
would point to the new application instead of the old one.