3 Replies Latest reply on Sep 13, 2004 12:16 PM by starksm64

    multiple virtual hosts

      Hello,

      I'm using Tomcat 5 on JBoss 3.2.5.

      I am currently deploying a .war to "mydomain.com" by declaring in jboss-web.xml;

      <jboss-web>
      <context-root>/</context-root>
      <virtual-host>mydomain.com</virtual-host>
      </jboss-web>

      How can I also include "www.mydomain.com" with just a single page that redirects to "mydomain.com".

      I tried a few things none of which worked.

      Thanks in advance

      James