https://issues.apache.org/bugzilla/show_bug.cgi?id=43821

Rainer Jung <rainer.j...@kippdata.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Rainer Jung <rainer.j...@kippdata.de> 2009-12-21 13:57:21 
UTC ---
You can add any so-called Apache environment variable to your request as
attributes when using Apache httpd. For this use the JkEnvVar directive. Such
request attributes can be retrieved on the Tomcat side via
request.getAttribute(attributeName). Note that their names will not be listed
in request.getAttributeNames()! 

Examples for available env vars are at

http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewritecond

(look at the box with server variables). There you can find e.g. SERVER_ADDR
and SERVER_PORT.

General info about JkEnvVar is available at

http://tomcat.apache.org/connectors-doc/reference/apache.html

The page 

http://tomcat.apache.org/connectors-doc/generic_howto/proxy.html

might also be interesting.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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

Reply via email to