-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 André,
On 11/24/2010 8:38 AM, André Warnier wrote: > But even if this is an outside opinion by a non-Java non-Tomcat expert, > it should not be too difficult to find the code which matches hostnames > and aliases with the request Host: header, and change it from an exact > to a regexp match, no ? > Or introduce a new <AliasMatch> tag ? (that may be more ambitious, but > maybe more elegant) As Konstantin pointed out, all that stuff is in the "Mapper" (which is org.apache.tomcat.util.http.mapper.Mapper). I would say that using an <AliasMatch> would be a good idea because a) it mirrors httpd-style configuration where <Foo> does exact matches while <FooMatch> allows regular expressions, etc. and b) it shouldn't diminish performance of the existing <Alias> code -- that is, you only pay for it if you need it. Steffen, care to log an enhancement request in bugzilla? - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkztbeQACgkQ9CaO5/Lv0PADLQCgnlWy5+D+3JdxyW65PG+ITlcf ey8AoJNxXJJE4KE6iehVMyGfj0gfe+/T =uhVA -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org