On 25.05.2011 15:18, Christopher Schultz wrote:
> André,
> 
> On 5/24/2011 7:13 PM, André Warnier wrote:
>> Christopher Schultz wrote:
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>>> Marc,
>>>
>>> On 5/24/2011 10:56 AM, Marc Boorshtein wrote:
>>>> I've setup a pretty generic httpd(2.2.19)+mod_jk to tomcat 6 on Oracle
>>>> Linux 5 (CentOS 5 equiv) with SSL setup.  With JkExtractSSL and the
>>>> correct SSLOptions in the httpd configuration files.  I can see the
>>>> SSL environment variables in /cgi-bin/printenv but no headers or
>>>> environment variables in the backend tomcat app.  Am I missing
>>>> something?
>>>
>>> Something just tickled my brain, here: you said "environment variables
>>> or headers". The data stored in environment variables on the Apache
>>> httpd side are neither stored in environment variables (since the
>>> environment is shared, and a multi-threaded server would never work) nor
>>> in request headers (because that's not really appropriate).
>>>
>>> Instead, they are stored in the request /attributes/.
>>>
>>> Unfortunately, the mod_jk documentation doesn't make that clear. I'll
>>> try to find a reference, even if it's only in the source code.
>>>
>> Checkup JkEnvVar.
>> http://grokbase.com/topic/2007/04/19/howto-forward-user-name-from-apache-via-mod-jk-to-tomcat/00UYI-2ef5d4aI6oZhrQPFf3JD0
> 
> Yeah, except that JkEnvVar puts the environment variable FOO into the
> request attribute "FOO", while JkExtractSSL puts them under attribute
> keys defined by the servlet specification. That was not clear at all
> from the existing documentation (at least not without having read the
> servlet spec as well and drawing a logical conclusion).

Being late here, I used to suggest taking a look at

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

Regards,

Rainer

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

Reply via email to