that's very kind. Of cource, I had checked the documentation before I posted my initial question. It doesn't say anything about virtual hosts.
Thanks for your reply
Michael Kastner
Adrian Lanning schrieb:
JK tut: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/aphowto.html
As staf pointed out you can use the same worker. Use localhost.
Adrian
----- Original Message ----- From: "staf wagemakers" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 23, 2004 9:28 AM
Subject: Re: workers.properties and virtual hosts
On Tue, Mar 23, 2004 at 02:01:34PM +0100, Michael Kastner wrote:
I am trying to install tomcat5 with apache 1.3 using the mod_jk
connector.
On my test system I've got several virtual hosts. Do I have to create a separate worker for each virtual host?
E.g.:
worker.list= worker1, worker2, worker3
worker.worker1.type=ajp13 worker.worker1.host=host1.linuxstation2 worker.worker1.port=8009
worker.worker2.type=ajp13 worker.worker2.host=host2.linuxstation2 worker.worker2.port=8009
worker.worker3.type=ajp13 worker.worker3.host=host3.linuxstation2 worker.worker3.port=8009
Any help is very much appreciated.
Depends on what you mean by "virtualhosts", if you have one tomcat server with several virtualnamehosts it's possible to do it with one ajp connector.
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/vhosthowto.html
describes howto setup virtualhosts with jk2. The setup for jk1 is very similar.
-- Staf Wagemakers
email: staf at patat.org homepage: http://staf.patat.org
--------------------------------------------------------------------- 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]
