I would like add a redirection of the KNIME homepage server if a file is missing in a local directory. I saw it is possible to use instructions like RewriteCond and RewriteRule with Tomcat to check a condition and redirect the user if needed (like A Brief Look at the Rewrite Valve in Tomcat 8 - A Blog By Tony Junkes).
So I added
<Valve className="org.apache.catalina.valves.rewrite.RewriteValve" /> in
<Host appBase="webapps"../> part of the KNIME server apache-tomcat-9.0.36/conf/server.xml file, and added a rewrite.config file in apache-tomcat-9.0.36/webapps/knime/WEB-INF. But it seems never read, I tried to put in in other folder but there is no change.
Do you know if it is possible to use a rewrite.config file to redirect KNIME homepage ?