tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: The best place for implementing context specific behavior?
Date Fri, 26 Jun 2009 13:18:42 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jonathan,

On 6/25/2009 11:21 AM, Jonathan Mast wrote:
> You misunderstood the issue at hand.  The host name I'm detecting is not the
> that of the viewer of my site, but my site, so there must be different host
> virtualhosts setup.

Pid is right: you are sniffing the Host header supplied by the client
which /is/ the hostname of the server. There is no need to deploy
multiple copies of your own webapp, unless you want separate caches of
data or something like that.

If you deploy multiple instances, then you don't need to sniff the request!

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

iEYEARECAAYFAkpEyrIACgkQ9CaO5/Lv0PCNlwCglVbH8rQFVALyV6aJshLL/E8f
UocAni828WklGgN7i+GuUpoFWhNbU2ZY
=uJAA
-----END PGP SIGNATURE-----

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


Mime
View raw message