Each virtual host gets a Host element/container in server.xml.
In that Host element, create a Context for the path. For example, in a default Tomcat install: Host name="localhost" appBase="webapps" Context path="/examples" docBase="examples" So in your case: Host name="www.domain2.com" appBase="webapps" Context path="" docBase="some-folder-in-webapps-just-like-examples" Look for the root Context within the localhost Host element in server.xml and do something similar. John > -----Original Message----- > From: Dionisio Ruiz de Zarate [mailto:[EMAIL PROTECTED]] > Sent: Thursday, September 05, 2002 11:18 AM > To: [EMAIL PROTECTED] > Subject: apache + tomcat 4.0.1 + virtual host > > > Hello with this i pass the /examples petitions to the tomcat > > WebAppConnection conexion warp localhost:8008 > WebAppDeploy examples conexion /examples > > but if i have one second virtualhost (www.domain2.com) in the > apache virtual > host configuration how i must to configure for passint to > the tomcat the > jsp pages in this second domain? > thanks > > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
