On Jan 20, 2006, at 12:53 AM, Greg Wilkins wrote:
Aaron Mulder wrote:
It would be saying something like, there must be a
GBean to represent a virtual host, and that GBean must have a set of
host names associated with it, and any application can be associated
with that "defined virtual host". For Tomcat, this would be
effectively a HostGBean with all that entails. For Jetty, it
would be
a GBean holding a list of Strings that get applied as virtual hosts
when the app is associated with that "defined virtual host".
Can we modify this to:
there must be a GBean to represent a HOST, and that GBean must have a
set of host names AND a set of aliases (virtual host names) associated
with it. Any applicaton can be associated with that "defined HOST".
For Tomcat, this would be effectively a HostHBean with all that
entails.
For Jetty it would be a GBean holding a list of string that get
applied
as hosts and a list of strings that get applied as virtual hosts
when the app is associated with that "defined HOST".
We have a potential user for this on IRC and I'm thinking of
implementing it at least for jetty. Greg, can you point out the
correct calls to set up a web app context with multiple hosts and
virtual hosts in jetty? I didn't immediately see what to do.
thanks
david jencks
cheers