Im using the JkEnvVar in a setup right now, as follows, in apaches conf:

JkEnvVar REDIRECT_URL   REDIRECT_URL

...which passes the envvar REDIRECT_URL, calling it REDIRECT_URL on the
java side. I later on fetch in java with:

request.getAttribute("REDIRECT_URL")

Works fine.

When first wanting to use this directive, i spent like an entire day
trying to find even the slightest info about it. Everything that came up
was some sourcecode patches for mod_jk containing the string... Does
anybody know where this (and others?) directive is documented? I mean,
there must be atleast something that states the usage of the directive
with its arguments... 


//Jocke


> -----Original Message-----
> From: Nikolaus Rath [mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, April 09, 2002 6:26 PM
> To: [EMAIL PROTECTED]
> Subject: Passing environment variables from apache request
> 
> 
> 
> Hello!
> 
> In my servlet i need access to some environment variables 
> defined by an apache module for the request. How can i access them?
> 
> I am using tomcat 3.3 and mod_jk. After looking at the mod_jk 
> source, i found the JkEnvVar directive. It seems that this 
> directive tells mod_jk to send the specified environment 
> variable to tomcat. But i can't find a way to access it on Java side.
> 
> Thanks in advance,
> 
>    --Nikolaus
> 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to