Nope, you don't. There are different ways to do this, but with this technique you don't need extra connectors.
grts, Patrick -----Original Message----- From: Barnet Wagman [mailto:[EMAIL PROTECTED] Sent: Monday, June 07, 2004 9:30 PM To: Tomcat Users List Subject: Re: How do I associate a web app with a specific IP (connector)? Thanks. That looks simple enough. Does this mean that I don't need an extra connector for the IP? Patrick Willart wrote: >There is probably more than one way to do this, but one is by defining >multiple hosts and using an alias to bind the host to an IP. > >You could end up with something like this: > ><Host name="yourdomain1" debug="0" appBase="webapps1" unpackWARs="true" >autoDeploy="true" xmlValidation="true" xmlNamespaceAware="true"> > > <Alias>127.0.0.1</Alias> > <Alias>yourdomain1.com</Alias> > > .... ></Host> > ><Host name="yourdomain2" debug="0" appBase="webapps2" unpackWARs="true" >autoDeploy="true" xmlValidation="true" xmlNamespaceAware="true"> > > <Alias>127.0.0.2</Alias> > <Alias>yourdomain2.com</Alias> > > .... ></Host> > >grts, > >Patrick > >-----Original Message----- >From: Barnet Wagman [mailto:[EMAIL PROTECTED] >Sent: Monday, June 07, 2004 5:27 PM >To: Tomcat Users List >Subject: How do I associate a web app with a specific IP (connector)? > > >I'm going to be running Tomcat with two IP addresses (each has its own >domain name). How do I associate some web apps with one and some with >the other? > > From my reading of the /Server Configuration Reference/ (but no >experience yet), I gather that I should create a connector for each IP >address. But I don't see how to associate a web app with a particular >connector. Do I need to create separate Host elements and use separate >appBases? Or is there another way altogether? > >Thanks, > >bw > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
