Tomcat + Apache vhost on different hosts?
Hi fellow LQers,
I am using Apache2 + Tomcat 4.1 + mod_jk2 and just sucessfully set up virtual hosting on my personal laptop for development. Now, the management wants me to put the same setup on the development servers and I ran into a major problem.
Apache looks for jsp pages in it's DocumentRoot and if the host is in the workers2.properties file, it sends the requests over to tomcat. My Apache web server and Tomcat Application server are 2 physically different hosts, is it possible to enable virtual hosting with Tomcat through Apache when these are on different hosts? My first thought was to export the filesystem using NFS, but that kills performance and the Change Control Management Board frowned on the idea.
How can I have Apache hand off requests in a Virtualhost to Tomcat, when Tomcat is located on a different physical machine? thanks!