You have to add a new host and context into the server.xml for each new host for example like this:
<Host name="www.a.com" debug="0" appBase="myfolder" unpackWARs="true"> <Context path="" docBase="mywebapp" debug="0" reloadable="false"> </Context> </Host> "Andoni" <[EMAIL PROTECTED]> 11.11.2002 14:33 Please respond to "Tomcat Users List" <[EMAIL PROTECTED]> To "Tomcat Users List" <[EMAIL PROTECTED]> cc Subject Re: Configuring multiple domains and web applications My question is similar to the one below: I am configuring Tomcat 3.2.1 / Apache 1.3 to VHost for multiple web-apps. Do I have to include the WebApp name in each request? Can I hide the WebApp name from the user? I have been told to use the root web-app but this is only of use once. I can also use mod_rewrite but this does not present the clean interface I'm looking for. Is it just not possible to hide the webApp name? Thanks. andoni. ----- Original Message ----- From: "Turner, John" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Monday, November 11, 2002 2:03 PM Subject: RE: Configuring multiple domains and web applications > > This guide was originally posted by Glenn Nielsen on Aug 8, 2002. It may > help you. See attached. > > John > > > > -----Original Message----- > > From: Lee Grey [mailto:leegrey@;mindspring.com] > > Sent: Friday, November 08, 2002 9:33 PM > > To: Tomcat Users List > > Subject: Configuring multiple domains and web applications > > > > > > I have three different web applications I want to run on > > Tomcat. Each needs > > to run under its own domain, let's call them http://www.a.com, > > http://www.b.com, and http://www.c.com. I have a couple of > > Linux boxes to > > configure in any way that makes sense. At the moment, I only have > > http://www.a.com running, and it runs on Apache and Tomcat in > > the same box. > > > > ---------------------------------------------------------------------------- ---- > -- > To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> > For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org> -- To unsubscribe, e-mail: < mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: < mailto:tomcat-user-help@;jakarta.apache.org> -- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>