Hello Staf,

thanks for your reply. Yes indeed, I mean virtual name hosts. I am wondering, why there is no example in the mod_jk doc but in the mod_jk2 doc.

What do you mean with "similar"? What exactly is the difference?


Sincerely


Michael Kastner

staf wagemakers schrieb:
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.




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to