This is an automated email from the ASF dual-hosted git repository.
markt-asf pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push:
new fac91481cd Note ordering requirements for Semaphore, Persistence and
Rewrite
fac91481cd is described below
commit fac91481cd6c8633e21eb6f7acf4ee1cb9f19966
Author: Mark Thomas <[email protected]>
AuthorDate: Fri Nov 27 16:52:17 2026 +0000
Note ordering requirements for Semaphore, Persistence and Rewrite
---
webapps/docs/changelog.xml | 9 +++++++++
webapps/docs/config/valve.xml | 9 +++++++++
2 files changed, 18 insertions(+)
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index 688d7a6d65..e4ebe122bd 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -441,6 +441,15 @@
</fix>
</changelog>
</subsection>
+ <subsection name="Web applications">
+ <changelog>
+ <add>
+ Document the ordering requirements for the
+ <strong>SemaphoreValve</strong> and the
<strong>PersistentValve</strong>
+ when used with the <strong>RewriteValve</strong>. (markt)
+ </add>
+ </changelog>
+ </subsection>
<subsection name="Tribes">
<changelog>
<docs>
diff --git a/webapps/docs/config/valve.xml b/webapps/docs/config/valve.xml
index fe847c501a..1824b521f6 100644
--- a/webapps/docs/config/valve.xml
+++ b/webapps/docs/config/valve.xml
@@ -2746,6 +2746,10 @@ RequestHeader unset SSL_CLIENT_ESCAPED_CERT</source>
<li><b><code>permitDenied</code></b> may be overridden to add error
handling
when a permit isn't granted.</li>
</ul>
+ <p>If configured with the <strong>RewriteValve</strong>, it is recommended
+ that the <strong>RewriteValve</strong> is configured before the
+ <strong>SemaphoreValve</strong> to avoid issues with re-written requests
+ consuming an additional permit per rewrite.</p>
</subsection>
@@ -2840,6 +2844,11 @@ RequestHeader unset SSL_CLIENT_ESCAPED_CERT</source>
<p>The <strong>PersistentValve</strong> that implements per-request session
persistence. It is intended to be used with non-sticky load-balancers.</p>
+ <p>If configured with the <strong>RewriteValve</strong>, it is recommended
+ that the <strong>RewriteValve</strong> is configured before the
+ <strong>PersistentValve</strong> to avoid issues with re-written requests
+ consuming an additional permit per rewrite.</p>
+
</subsection>
<subsection name="Attributes">
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]