You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@apache.org on 2026/05/10 18:22:17 UTC

svn commit: r1934059 - httpd/httpd/trunk/docs/manual/mod

Author: rbowen
Date: Sun May 10 18:22:17 2026
New Revision: 1934059

Log:
mod_proxy_ajp: Note that Tomcat getAttributeNames() does not list AJP-forwarded request attributes (PR 65044)

Modified:
   httpd/httpd/trunk/docs/manual/mod/mod_proxy_ajp.xml

Modified: httpd/httpd/trunk/docs/manual/mod/mod_proxy_ajp.xml
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_proxy_ajp.xml	Sun May 10 15:55:16 2026	(r1934058)
+++ httpd/httpd/trunk/docs/manual/mod/mod_proxy_ajp.xml	Sun May 10 18:22:17 2026	(r1934059)
@@ -111,6 +111,12 @@ ProxyPassReverse "/apps/foo" "http://www
     <p>Environment variables whose names have the prefix <code>AJP_</code>
     are forwarded to the origin server as AJP request attributes
     (with the <code>AJP_</code> prefix removed from the name of the key).</p>
+
+    <p>Please be aware that these request attributes are only accessible when
+    directly asking for them using the <code>HttpServletRequest.getAttribute</code>
+    method - Tomcat's implementation of the
+    <a href="https://tomcat.apache.org/tomcat-9.0-doc/api/org/apache/catalina/connector/Request.html#getAttributeNames--"><code>getAttributeNames</code></a>
+    method does not list them as those are handled as internal attributes.</p>
 </section>
 
 <section id="overviewprotocol"><title>Overview of the protocol</title>