You must used
JkEnvVar <apache env var> <default value>
You envVar can be accessed with request.getAttribute("<apache env var>")
Peter
Am 18.01.2006 um 17:30 schrieb Michael Li:
I added the following lines to apache httpd.conf
JkEnvVar entrust-client
JkEnvVar entrust-client-info
JkEnvVar entrust-client-ip
JkEnvVar entrust-server
JkEnvVar entrust-server-ip
JkEnvVar via
And got the following from apache log:
[Wed Jan 18 11:19:54 2006] [warn] module mod_jk.c is already added,
skipping
Syntax error on line 252 of /home/fundserv/app/apache/conf/httpd.conf:
JkEnvVar takes two arguments, Adds a name of environment variable that
should be sent to servlet-engine
/fsrv/home/fundserv/app/apache/bin/apachectl startssl: httpd could not
be started
-----Original Message-----
From: Mladen Turk [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 18, 2006 10:19 AM
To: Tomcat Users List
Subject: Re: Problem with JK connector
Michael Li wrote:
Hi there,
Currently we use apache 1.3 and tomcat 4.1.31. We tried to connect
them through JK. Everything works fine, except some special http
headers are gone.=20 Because we user entrust direct, which will set
some special http header in the http request. The servlets will check
those headers to check the user identity. =20 If you have any tips,
please let me know.
http://tomcat.apache.org/connectors-doc/config/apache.html
JkEnvVar is probably what you are pursuing.
OTHOH you might get into trouble if the headers are set by another
module.
Regards,
Mladen.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]