tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: RemoteHostValve for infinite domains?
Date Thu, 01 Apr 2010 17:24:14 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dean,

On 4/1/2010 10:37 AM, Dean Hiller wrote:
> So, xxx.dev.premonitionx.com will go be routed to
> 
> <Engine defaultHost="dev.premonitionx.com"

Yes. But, requests to xxx.demo.premonitionx.com will also go to that
<Host> as well.

I thin the only way to get around writing many <Alias> entries in
server.xml is to either use something like Apache httpd + mod_jk to
perform routing to the correct backend Tomcat server, or to modify the
Tomcat code that does <Host> picking and use String.endsWith() instead
of String.equals() to perform the matching.

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

iEYEARECAAYFAku01r4ACgkQ9CaO5/Lv0PAMyACfVCfVxrnP8PE4uV6N1vN3Ixkm
nLYAn0IXKxF7Pwxw/GbFbcaVOB63dBHG
=77d2
-----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