Not sure if its been asked before but... JBoss has the file:
jboss/server/default/deploy/jbossweb-tomcat.sar/META-INF/jboss-service.xml that contains the Tomcat server.xml file. Just edit this and add two Host entries as described here: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/host.html If you want that deployed you'd prolly have to create a modified jbossweb-tomcat.sar file and deploy that. I'm afraid I have no idea how to do this (yet, I have to do this soon at work!) Hope that helps (and works, else I'm stuffed!). Adam. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 22 March 2004 17:12 To: [EMAIL PROTECTED] Subject: Bind webapp to virtual host Hi all, Sorry if this has been asked a million times before. Is it possible to bind a webapp to a specific virtualhost. So something like: www.myhost1.com ---> /webapp1.war www.myhost2.com ---> /webapp2.war And if so, how can this be achieved? Especially, if I use the integrated Tomcat in JBoss (3.2.3) and the packages are in an ear file. So something like this: www.myhost1.com ---> /myear.ear/webapp1.war Regards, Harm de Laat Informatiefabriek The netherlands. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
