Apache Tomcat 9 rewrite valve not working
问题 I have been trying to setup my tomcat 9 rewrite valve (on global level) without success, followed every tutorial I have found on the internet, but no matter how i configure my rewirte.config the valve simply does NOT work. So I write the simplest rewrite.config I can think of, which contains only a single line: RewriteRule ^test$ manager/test.jpg So this rule simply means to rewrite http://localhost:8080/test to http://localhost:8080/manager/test.jpg This file is placed inside $CATALINA_HOME