Hi Pascal, hi All,
I'm very interested on this topic too.
I'm using Apache with vhosts + mod_jk + 1 tomcat with vhosts.
You have to configure the same vhosts in apache and tomcat (look <Host>
tomcat conf docs).
I this should be possible to configure multiple tomcat instances (not in
LB) too (one for each vhost).
But, at the moment, I'm not satisfy about these solutions because:
- the first it' very hard to manage because anytime you add a vhost you
have to restart tomcat (an this procude a disservice)....and often I
have 1 vhost => 1 web app
- with the second solution you will have decouple domains but too many
instances (and resources)
I admit I'm not completely up to date with the last tomcat releses.
Have someone other ideas ?
thanks,
Fabio
Pedro Silveira Vieira da Silva wrote:
I think what you need is to use modjk:
http://tomcat.apache.org/connectors-doc/
Here are some examples how to use it:
http://www.csse.uwa.edu.au/~ryan/tech/tomcat.html
Pedro Silva
Pascal wrote:
Hello
Nobody could help me please or give a web pointer to help us to well
configure Tomcat with Apache with a lot of vhosts
Thanks by advance
Pascal
Yes Apache serves the Static pages and PHP
We have 150 Vhost in fact.
Some of our best client would like to use jsp/servlet in addition to
their existing php/htm file
Pascal
----- Original Message ----- From: "Parsons Technical Services"
<[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Saturday, May 06, 2006 3:09 AM
Subject: Re: Tomcat config with APACHE and mutliple VHOST
Any reason you need Apache? You can do the Vhost with Tomcat alone.
Just an option.
Doug
----- Original Message ----- From: "Pascal" <[EMAIL PROTECTED]>
To: <users@tomcat.apache.org>
Sent: Friday, May 05, 2006 9:03 PM
Subject: Tomcat config with APACHE and mutliple VHOST
Hello,
I not really found revelant info on internet about this.
Here is what we plan to do.
We have currently APACHE and mutli^ple vhost on few shared IP. We'd
like to allow to some or all vhost to use jsp/servlet. So we will
install TOMCAT and mod_JK
Here is our config snapshot
apache in /etc/httpd/
vhost conf file in /etc/httpd/conf.d/
public_html (or docuemntroot in every vhost) are in
/home/user_account/domain_name/html
So our question is :
What would be the best configrution to allow all users or some users
to have jsp file in their html directory ?
What is the best way, 1 apache instance and multiple Tomcat instances
or manage everything with vhost ?
If you could give us a web pointer or some snip config exemple of
server.xml, web.xml, vhost-conf files, worker.properties we will
really apreciate it
Also were should we add the context ? and where have to be all files
(like WEB-INF, etc...) ?
Thanks a ton for your help, HowTo
Pascal
---------------------------------------------------------------------
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]
---------------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]