You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jack on vacation <ja...@hotmail.com> on 2003/02/04 19:45:18 UTC
Env vars, mod_jk and JkEnvVar?
Hi,
What's the way to pass environment variables from Apache to Tomcat when
using mod_jk?
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/aphowto.html
gives JkEnvVar SSL_CLIENT_V_START as an example, but how do I read this
in a JSP? Will it appear as an attribute, if so, with what name?
Many thanks
Jack
_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: Env vars, mod_jk and JkEnvVar?
Posted by Milt Epstein <me...@uiuc.edu>.
On Tue, 4 Feb 2003, Jack on vacation wrote:
> Hi,
>
> What's the way to pass environment variables from Apache to Tomcat
> when using mod_jk?
>
> http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/aphowto.html
>
> gives JkEnvVar SSL_CLIENT_V_START as an example, but how do I read this
> in a JSP? Will it appear as an attribute, if so, with what name?
I'm using JkEnvVar in one setup, and the variable in question comes in
as a request attribute. I use the same name as on the JkEnvVar line.
So if you have
JkEnvVar SSL_CLIENT_V_START
you'd use
request.getAttribute("SSL_CLIENT_V_START")
Milt Epstein
Research Programmer
Integration and Software Engineering (ISE)
Campus Information Technologies and Educational Services (CITES)
University of Illinois at Urbana-Champaign (UIUC)
mepstein@uiuc.edu
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org