With the release of the new webportal, deploying KNIME Server to the ROOT context is no longer supported. There are many ways to accomplish this auto-redirect, however. I’ve listed two that havebeen tested on 4.12 KNIME Server on both HTTP and HTTPS.
The workarounds below seem to work:
- Replace the index.jsp with the following contents, replacing ‘localhost’ with the server name/dns name:
<% response.sendRedirect("http://localhost:8080/knime"); %>
- If you want to redirect the ROOT (servername:8080) to servername:8080/knime, then you could add the following line the the /webapps/ROOT/index.jsp
<meta http-equiv="refresh" content="0;url=/knime"/>
It will redirect the ROOT to the knime webapp.
We have tried both options, and prefer the first. The second will land on the old page, then redirect, so you see the Tomcat page, and that could be confusing (or annoying).
Please let us know if you have any questions.