Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 08-17-2005, 10:29 AM   #1
Registered: Jul 2003
Location: Florence, Ky
Distribution: CentOS 3.3-4, OpenBSD 3.3, Fedora Core 4, Ubuntu, Novell Open Enterprise Server
Posts: 213

Rep: Reputation: 30
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 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!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache ssl on only *one* vhost belorion Linux - Networking 1 12-01-2005 03:59 PM
Apache: Alias is working on ssl vhost but not on mass vhost jonavogt Linux - Software 0 06-07-2005 02:05 PM
vhost in apache jelgavchik Linux - Networking 3 02-07-2005 06:41 PM
Apache 2 vhost and permissions basse- Linux - Software 1 04-05-2004 07:48 AM
apache 1.3 vhost z4Rilla Linux - Software 0 08-03-2003 06:44 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:00 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration