We have a bunch of web applications packed into a single VM tomcat (6.0.14). I am looking to segrgating the contexts in distinct VMs based on IP address based virtual hosts.
I assume that to keep this segregation transparent to the applications themselves, URL rewriting has to be incorporated (if there is another method, pl let me know). Questions: 1) Are there recommended best practices for implementing virtual hosts with URL rewrite? 2) We use Tomcat without Apache frontend and plan to use the Tuckey.org's URL rewriter. Anyone have any bad experience with this? 3) I assume that we would have to use a dummy webapp to rewrite the URL based on virtual host configuration and forward the request. Is there a better way? Thanks /U