p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Professional Apache Tomcat (http://p2p.wrox.com/forumdisplay.php?f=42)
-   -   Apache + Tomcat on different hosts? (http://p2p.wrox.com/showthread.php?t=32584)

enigmasoldier August 17th, 2005 09:59 AM

Apache + Tomcat on different hosts?
 
Hello,

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. I will be doing this on HP-UX 11.11, thanks for your help!

Don't drink and derive, alcohol and analysis don't mix.

meta_job_search October 3rd, 2005 10:40 AM

Modifed theworker2.property and mod_jk2 will divert the traffic to designated hosts.

Tien-Chih Wang

-- Meta Job Search Engine , Find your dream job --

http://www.onsofts.com/powerJobSearch.jsp


All times are GMT -4. The time now is 05:15 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.