On 28/05/2025 15:48, Troels Arvin wrote:
Hello,

Mark Thomas wrote:
  Try with per context rewrite rules rather than global ones.

What does that mean?

https://tomcat.apache.org/tomcat-11.0-doc/rewrite.html

Define the Valve at the web application level in the web application's META-INF/context.xml (nested under <Context>) rather than at the host level in server.xml

Rewrite rules for that web application then go in WEB-INF/rewrite.config

Then add

<WatchedResource>WEB-INF/rewrite.config</WatchedResource>

(also nested under <Context>) to the context.xml

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to