Pid wrote: > On 23/10/2009 15:25, André Warnier wrote: >> Well, let's get to the bottom of this. >> When Tomcat gets a request, does it : >> 1) figure immediately that it has only one Host, and thus not even look >> at the "Host:" header, and respond with the one and only default Host ? >> or >> 2) first look at the Host header, try to find a matching Host or Alias, >> and only default to the default Host if it has /not/ found a matching >> Host name or Alias ? > > I'd guess 2. > > p > > > >> Hmm ?
Gee, if only you could look at the source code to find out... Hint: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/tomcat/util/http/mapper/Mapper.java?view=annotate Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org