-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Brian,

On 5/11/2011 2:35 PM, Brian Braun wrote:
> In Linux I have have more than one instance of Tomcat in the same Linux
> instance. It is as easy as installing each Tomcat with a different port
> (lets say, 8081 and 8082), and using IPTables NAT (and Tomcat host
> virtualization) to redirect some domains to some hosts inside a certain
> Tomcat, and some other domains in certain other virtual hosts inside other
> Tomcat. All the domains can use port 80 from the clients point of view, but
> inside are managed with different ports.

To the client, does each target look like it has a separate IP address?
Or, is iptables NAT smart enough to inspect the HTTP messages (even
SSL?) to route them?

I would think that it would be simpler to just have multiple IP
addresses and bind directly to port 80 on each of them.

If you are able to use multiple IPs, then the same technique will work
on Microsoft Windows... though I'm not sure why you'd want to run your
webapp on that platform :(

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3K3voACgkQ9CaO5/Lv0PDzjQCfQo+wUJg3v6k3Gd4On54vYyP0
vwwAoJDpxiAIAD4gG460/g1S6fbkObjn
=kNzk
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to