[jboss-jira] [JBoss JIRA] (WFLY-10322) Instructions for removing welcome content don't work

Rich DiCroce (JIRA) issues at jboss.org
Thu May 3 17:08:01 EDT 2018


Rich DiCroce created WFLY-10322:
-----------------------------------

             Summary: Instructions for removing welcome content don't work
                 Key: WFLY-10322
                 URL: https://issues.jboss.org/browse/WFLY-10322
             Project: WildFly
          Issue Type: Bug
          Components: Web (Undertow)
    Affects Versions: 12.0.0.Final
            Reporter: Rich DiCroce
            Assignee: Stuart Douglas


The welcome page in WildFly 12 says:
{quote}
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.
{quote}

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:
{code}
        <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>
{code}



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list