> From: gpike [mailto:gop...@gmail.com] > Subject: RE: How to Map domain to a context using Mod_jk > > I thought a restart was needed because VirtualHost config is in the > server.xml.
Tomcat has APIs for pretty much everything, and these are used by the parser for server.xml to create the internal objects, including those for each <Host>. The host-manager webapp does the same. > So are you saying using host-manager I could add the new > VirtualHost, but I would also need to add it to server.xml > because the host-manager changes would be lost at restart? Adding it to server.xml is one way; you could also keep track of the additional hosts separately and just call the host-manager webapp with the necessary data to add each one at Tomcat startup. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org