tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "david joffrin" <david_joff...@hotmail.com>
Subject Re: Apache, tomcat and virtual host
Date Wed, 06 Apr 2005 06:23:02 GMT
Yes,

I'd like to set up the following set up the following URLs:
>http://www.domain1.com/
>http://www.domain2.com/
>https://sthg.domain1.com/
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).

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 <drees76@gmail.com>
>Reply-To: David Rees <drees76@gmail.com>
>To: Tomcat Users List <tomcat-user@jakarta.apache.org>
>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 <david_joffrin@hotmail.com> 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: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message