Since a virtual host in Tomcat requires a Host element in server.xml, that means a restart. If you use the ApacheConfig option for JK, adding the new Host is picked up automatically , and the corresponding Apache config directives are generated. Then a "/path/to/apache/bin/apachectl graceful" will pick those up without effecting other requests.
How do you envision dynamic virtual hosts working? I think it's a huge issue, not only from a usage POV, but from a design/architecture POV. I doubt doing this is trivial, but I'm no developer so maybe it is. In any case, I'm sure tomcat-dev would have better answers, suggestions or guidance. John > -----Original Message----- > From: Jason Pyeron [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 01, 2003 8:15 PM > To: Tomcat Users List > Subject: Re: can tomcat do dynamic virtual hosts? > > > > I find this a VERY IMPORTANT issue. I have been very > dissatisfied with > the connectors of late. > > apache has a document root property. > apache knows the url requested. > i dont know why this information cannot be used by tomcat > like jserv did. > > end rant > On Wed, 1 Jan 2003, Joseph Shraibman wrote: > > Can tomcat do dynamic virtual hosts? I'm currently doing > dynamic virtual hosts with > apache + Jserv but I don't know how to do that with tomcat. > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > -- > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > - - > - Jason Pyeron http://www.pyerotechnics.com - > - Owner & Lead Pyerotechnics Development, Inc. - > - +1 410 808 6646 (c) 500 West University Parkway #1S - > - +1 410 467 2266 (f) Baltimore, Maryland 21210-3253 - > - - > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > > This message is for the designated recipient only and may contain > privileged, proprietary, or otherwise private information. If you > have received it in error, purge the message from your system and > notify the sender immediately. Any other use of the email by you > is prohibited. > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>