> From: Angelo Chen [mailto:[EMAIL PROTECTED] > Subject: multiple domains > > www.domain1.com will call the app1 > www.domain2.com will call the app2
In conf/server.xml, configure two <Host> elements, one for each domain. Create a separate appBase directory for each <Host>, and configure the appBase in each appropriately. Place app1 under domain1's appBase as ROOT, app2 under domain2's appBase as ROOT. You're done. Doc references: http://tomcat.apache.org/tomcat-5.5-doc/config/host.html http://tomcat.apache.org/tomcat-5.5-doc/config/context.html - 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 start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]