Yes,
I'd like to set up the following set up the following URLs:
but this http://www.domain1.com/ must redirects to a tomcat instance and I would like to implement load balancing on this one (so using mod_jk).http://www.domain1.com/ http://www.domain2.com/ https://sthg.domain1.com/
How should I configure my httpd.conf to realize that as so far if I implement mod_jk on my https instance, all domains are redirected to the tomcat instance.
Thanks. DvJ
From: David Rees <[EMAIL PROTECTED]> Reply-To: David Rees <[EMAIL PROTECTED]> To: Tomcat Users List <[email protected]> Subject: Re: Apache, tomcat and virtual host Date: Tue, 5 Apr 2005 17:54:22 -0700
On Apr 5, 2005 4:17 AM, david joffrin <[EMAIL PROTECTED]> wrote: > > I would like to run the following configurations with only one > machine: 3 domains. Let's name them, www.domain1.com and > sthg.domain2.com and www.domain2.com. > > www.domain1.com runs on 80 using apache and php > www.domain2.com runs on 8080 using tomcat, mysql... > sthg.domain2.com runs on 443 using apache and php > > Using the virtual hosts, I managed to set-up successfully > www.domain1.com and sthg.domain2.com. I am now trying to include > mod_jk, but when doing that, I am loosing the virtual hosts features > and all my requests (for all sites) are sent to the tomcat instance > (including the https one). > > Is that possible should probably my first question? > Has anyone some experience with a similar set-up?
Yes, it is possible to configure multiple virtual hosts with Apache and Tomcat...
Your explanation of your current setup is confusing. Are you trying to setup the following URLs?
http://www.domain1.com/ http://www.domain2.com/ https://sthg.domain1.com/
-Dave
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
