Disable welcome-root in EAP6

To remove the default welcome page your have to change your virtual server config in your standalone.xml to state enable-welcome-root=”false”:

<virtual-server name="default-host" enable-welcome-root="false">
  <alias name="localhost"/>
</virtual-server>

Or with cli:

/subsystem=web/virtual-server=default-host:write-attribute(name=enable-welcome-root,value=false)

 

Leave a Comment