]
Rich DiCroce resolved WFLY-10322.
---------------------------------
Resolution: Explained
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: Chao Wang
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}