On Thu, 5 Sep 2002, Turner, John wrote:

> I forgot to mention that you will have to configure your Apache
> connector for that new host name, but it looks like you are using
> mod_webapp, and I am not familiar with it.

I think if the appropriate connector configuration directives (whether
it's mod_jk or mod_webapp) are only included in the appropriate
section in the Apache config file (e.g. in the main section or in the
particular virtual host section), that should do the trick.


> > -----Original Message-----
> > From: Turner, John [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, September 05, 2002 11:30 AM
> > To: 'Tomcat Users List'
> > Subject: RE: apache + tomcat 4.0.1 + virtual host
> >
> >
> > 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]>
>

Milt Epstein
Research Programmer
Systems and Technology Services (STS)
Campus Information Technologies and Educational Services (CITES)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]


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

Reply via email to