|
Home > Archive > Apache Server configuration support > September 2007 > Apache Web Server and Tomcat integration
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Apache Web Server and Tomcat integration
|
|
| marchioni.francesco@libero.it 2007-09-20, 7:24 pm |
| Hi all !
I need to integrate Apache Web Server with 4 Jakarta Tomcat Servers.
Is it possible to create a configuration made of 4 Virtual Hosts so
that -depending on the port- will use a different Tomcat
configuration?
Listen 8080
<VirtualHost 10.0.1.2:8080>
include modjk1.properties
</VirtualHost>
Listen 8081
<VirtualHost 10.0.1.2:8081>
include modjk2.properties
</VirtualHost>
........and so on....
So in modjk1.properties will forward to Tomcat 1,
modjk2.properties will forward to Tomcat2
Is it possible to do it, or there can be only one include modjk ?
Thanks a lot
Francesco
| |
| Davide Bianchi 2007-09-21, 7:36 am |
| On 2007-09-20, marchioni.francesco@libero.it <marchioni.francesco@libero.it> wrote:
> I need to integrate Apache Web Server with 4 Jakarta Tomcat Servers.
> Is it possible to create a configuration made of 4 Virtual Hosts so
> that -depending on the port- will use a different Tomcat
> configuration?
Sure you can, you can even use different JKMount to do the same,
as long as you define different workers each one pointing to a different
Tomcat server.
> Is it possible to do it, or there can be only one include modjk ?
You don't need multiple mod_jk, you need one mod_jk to talk with any
tomcat server.
Have a look at http://www.soft-land.org/faq/tomcat
Davide
--
A little rudeness and disrespect can elevate a meaningless interaction into a
battle of wills and add drama to an otherwise dull day.
--Calvin discovers Usenet
|
|
|
|
|