tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier>
Subject Re: The best place for implementing context specific behavior?
Date Thu, 25 Jun 2009 15:43:20 GMT
Pid wrote:
> If you're analyzing the host name per request and no other config is
> required, just point it all at the default host.  You may not need to
> setup additional virtual hosts in server.xml.
I claim prior art on that one.
"All of the above is predicated on the asumption that you really need to
do this specific per-host initialisation ahead of time.
If you don't, then you could use a single <Host> entry, pick up the
hostname at request processing time, and do away with all the setup above. "

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message