You can specify the virtual host in jboss-web.xml (WEB-INF/, in the war file), just add a "<virtual-host>www.mysite.com</virtual-host>" element. This probably requires Jboss_2_5_11 from cvs.
- Anders -----Original Message----- From: Marius [mailto:[EMAIL PROTECTED]] Sent: 8. huhtikuuta 2002 11:46 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Virtual hosts and root contexts Anders Lindh wrote: > > Hi, > > I'm trying to get catalina and virtual hosts to work, and finally seem > have succeeded. The only remaining problem is how to deploy different > root applications for different virtual hosts. If I define > <context-root></context-root> in jboss-web.xml, catalina deploys it as > web10xx. If I set a / in content-root, the context is accessible > through http://localhost//index.xml, not http://localhost/index.xml. > Is there any magic word that puts the context in the root? (ROOT > didn't work). Also renaming files to ".war" is quite a hack, and not > possible as I need to have many root contexts. > > I'm using Jboss_2_5_11 (fresh from the cvs). If anyone wants the conf > files, mail me (virtual hosts aren't too documented). Yes, I couldn't find any place to specify the virtual host in any DTDs. Where is it? Are the DTDs in CVS old? BTW. Does it word in Jetty? Thanks Marius > > Thanks, > > - Anders > > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user