https://issues.apache.org/bugzilla/show_bug.cgi?id=18500
--- Comment #10 from Konstantin Kolinko <knst.koli...@gmail.com> 2011-09-27 01:12:47 UTC --- (In reply to comment #9) > I just wouldn't watch to mix-and-match too many name-matching styles or things > are going to get seriously ridiculous (exact-match, then suffix-match, then > regex-match, then what next?). > > The question is how many other strategies are worth implementing /after/ an > exact-match is not found? I think it is just a single strategy: iterate linearly over list, trying each candidate whether it matches or not. The candidate implements its matching algorithm by itself. For <Alias> value written as *.foo it can be suffix matching, and for /foo/ it can be Regexp matching. Or implement separate <AliasRegexp> element. I do not see any alternative to linear search here. The search order probably depends on the order in web.xml (and will change if some hosts are stopped and started again through JMX or host-manager). -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org