Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-10322

Instructions for removing welcome content don't work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a Bug
    • Major
    • None
    • 12.0.0.Final
    • Web (Undertow)
    • None

    Description

      The welcome page in WildFly 12 says:

      To replace this page simply deploy your own war with / as its context path.
      To disable it, remove the "welcome-content" handler for location / in the undertow subsystem.

      But after removing the handler, the welcome content still appears. This is true even though I also have default-web-module set. A similar configuration worked correctly on WildFly 11, so this appears to be a relatively recent regression.

      WildFly 12 Undertow subsystem config:

              <subsystem xmlns="urn:jboss:domain:undertow:5.0">
                  <buffer-cache name="default"/>
                  <server name="default-server">
                      <http-listener name="default" socket-binding="http"/>
                      <host name="default-host" alias="localhost" default-web-module="report-server.war">
                          <filter-ref name="server-header"/>
                          <filter-ref name="x-powered-by-header"/>
                          <http-invoker http-authentication-factory="application-http-authentication"/>
                      </host>
                  </server>
                  <servlet-container name="default">
                      <jsp-config/>
                      <websockets/>
                      <session-cookie name="SQERS_SESSION_ID"/>
                  </servlet-container>
                  <filters>
                      <response-header name="server-header" header-value="WildFly/12" header-name="Server"/>
                      <response-header name="x-powered-by-header" header-value="Undertow/1" header-name="X-Powered-By"/>
                  </filters>
              </subsystem>
      

      Attachments

        Activity

          People

            chaowan@redhat.com Chao Wang
            rdicroce Richard DiCroce (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: