You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by david joffrin <da...@hotmail.com> on 2005/04/04 07:00:11 UTC

Apache, virtual host and Tomcat

Hi,

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?

Thanks for your help.
David.



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


Apache, virtual host and Tomcat

Posted by david joffrin <da...@hotmail.com>.
Reposting as the postmaster is "complaining"...

>Hi,
>
>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?
>
>Thanks for your help.
>David.
>
>
>
>---------------------------------------------------------------------
>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


Apache, virtual host and Tomcat

Posted by david joffrin <da...@hotmail.com>.
Hi,

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?

One way (I think) of fixing the problem would be to have to instance of 
Apache on my machine listening on 80 and 81 for instance. All requests are 
arriving at 80, but www.domain2.com is pushed to 81 which then implements 
mod_jk.

Thanks for your help.
David.



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


Apache, virtual host and Tomcat

Posted by david joffrin <da...@hotmail.com>.
Hi,

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?

Thanks for your help.
David.



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