If you have more than one worker defined like this: apache vhost1 - worker1 - tomcat host1 apache vhost2 - worker2 - tomcat host2 apache vhostn - workern - tomcat hostn
wouldn't you also need a connector and separate port for each one in server.xml? I can't see any benefit to doing it that way, but I guess you could do it. Others probably have different opinions. John > -----Original Message----- > From: Daniel Dugal [mailto:DanielDugal@;affina.com] > Sent: Friday, November 15, 2002 10:43 AM > To: 'Tomcat Users List' > Subject: RE: Apache 2, Tomcat 4, Lee 0 > > > John Turner wrote > > "So, you can have many virtual hosts in both Apache and > Tomcat, but only one > worker." > > Is this the preferred method if you only have one one Tomcat > instance? Or is > there any benefit to having a 1 to 1 ratio of workers and hosts? > > Tomcat Veteran opinions? > > apache vhost1 - worker1 - tomcat host1 > apache vhost2 - worker2 - tomcat host2 > apache vhostn - workern - tomcat hostn > > or > > apache vhost1 - worker - tomcat host1 > apache vhost2 - worker - tomcat host2 > apache vhostn - worker - tomcat hostn > > -- > Dan > > -----Original Message----- > From: Turner, John [mailto:JTurner@;AAS.com] > Sent: Friday, November 15, 2002 7:14 AM > To: 'Tomcat Users List' > Subject: RE: Apache 2, Tomcat 4, Lee 0 > > > > The "host" in workers.properties is not "virtual host" but > the location of > Tomcat. > > <snip> > -- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
