This content has been marked as final.
Show 1 reply
-
1. Re: how to disable welcome-root / welcome content in wildfly
scrublet Jul 17, 2014 11:13 AM (in response to francis_free)1 of 1 people found this helpful1. Open your standalone.xml file and head to the undertow subsystem near the bottom of the file.
2. Delete the host mapper that maps requests to "/" to the "welcome-content" handler:
<server name="default-server"> <host name="default-host" alias="localhost"> <location name="/" handler="welcome-content"/> <!-- Delete this line! --> </host> </server>
3. Delete the welcome-content handler itself since you're not planning on using it. Since this is the only handler, you can delete the whole <handlers> element:
<handlers> <file name="welcome-content" path="${jboss.home.dir}/welcome-content"/> </handlers>