5 Replies Latest reply on Oct 17, 2013 9:27 PM by dbschofield

    setting default-web-module on virtual host of undertow subsystem

    dbschofield

      I am trying to map a web app to a virtual host so when the alias of the virtual host is called the welcome file of the web app is returned.  I have the following in the standalone-full-ha.xml:

       

      <server name="default-server">

        <ajp-listener name="ajp" max-post-size="10485760" socket-binding="ajp"/>

        <http-listener name="default" max-post-size="10485760" socket-binding="http"/>

         <host name="default-host" alias="localhost"/>

         <host name="myhost" alias="www.myhost.com" default-web-module="jee7.war"/>

      </server>

       

      When I hit www.myhost.com in a browser I anticipate the index.html of the jee7.war would be returned.  Instead I am getting the index.html from the WildFly welcom-content.  Is something missing from the configuration or is this a bug with the undertow subsystem?