Subject: Apache + Tomcat on different hosts?
Posted By: enigmasoldier Post Date: 8/17/2005 9:59:42 AM
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.
Reply By: meta_job_search Reply Date: 10/3/2005 10:40:02 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

Go to topic 35263

Return to index page 461
Return to index page 460
Return to index page 459
Return to index page 458
Return to index page 457
Return to index page 456
Return to index page 455
Return to index page 454
Return to index page 453
Return to index page 452