tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Willart" <>
Subject RE: How do I associate a web app with a specific IP (connector)?
Date Tue, 08 Jun 2004 00:59:01 GMT
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">



<Host name="yourdomain2" debug="0" appBase="webapps2" unpackWARs="true"
autoDeploy="true" xmlValidation="true" xmlNamespaceAware="true">





-----Original Message-----
From: Barnet Wagman []
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?



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message