Try with per context rewrite rules rather than global ones. The watched
resource path is relative to the docBase.
You might be able to trick watched resources with
"../../conf/standalone/rewrite.config" but I haven't tested it and I'm
fairly sure it was never intended to work that way (even if it does).
Mark
On 28/05/2025 15:27, Troels Arvin wrote:
Hello,
Holger Klawitter wrote:
In the context.xml you should be able to specify
<WatchedResource>WEB-INF/rewrite.config</WatchedResource>
It doesn't work. I've tried
<WatchedResource>${catalina.base}/conf/standalone/rewrite.config</
WatchedResource>
and
<WatchedResource>/PATH_TO/tomcat/conf/standalone/rewrite.config</
WatchedResource>
However, I can still only get Tomcat to pick up my changes to
rewrite.config if I restart all of Tomcat :-(
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org