Tomcat: Redirect default home page to another URL

To create a redirect from default page in Tomcat edit CATALINA_HOME/webapps/ROOT/index.html:

nano /CATALINA_HOME/webapps/ROOT/index.html

Where CATALINA_HOME is your tomcat directory. Delete the content and replace with the following:

and replace with new destination.

Copyright © 2009 - All Rights Reserved
Information about how to reuse or republish this work may be available at Ali (Babusi) Aboosaidi.

Tagged as: