tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Barnet Wagman <b.wag...@comcast.net>
Subject Re: How do I associate a web app with a specific IP (connector)?
Date Tue, 08 Jun 2004 04:30:21 GMT
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:b.wagman@comcast.net]
>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: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message