Re: mod_rewrite/mod_header/mod_proxy problem

Josh Konkol <[email protected]> Tue, 11 Mar 2003 15:55:29 +0000 (UTC)
Newsgroups gmane.comp.apache.mod-proxy
Organization GuideOne Insurance
Message-ID <[email protected]>
Once again Bill is correct.  

If I use setenv to set an environment variable it works.   What doesn't 
appear to work are the environment variables set from [e=key:value] on a 
rewriterule line.  I can see the value being set in the rewrite log.  

Any ideas ??

Bill Stoddard <[email protected]> wrote in
news:[email protected]: 

> Josh Konkol wrote:
>> Thanks Bill you are correct.  I changed it to RequestHeader and now I
>> can see the headers being created.  Problem is RequestHeader doesn't
>> accept the ${env}e value and instead puts in a <null> value. >
>> Any ideas ??
> 
> Sure it does (perhaps the doc is wrong). I've tested this recently and
> it works fine.
> 
>     RequestHeader append SSL_SESSION_ID %{SSL_SESSION_ID}e
>     RequestHeader append SSL_VERSION_INTERFACE
>     %{SSL_VERSION_INTERFACE}e RequestHeader append SSL_CIPHER
>     %{SSL_CIPHER}e RequestHeader append SSL_SERVER_S_DN
>     %{SSL_SERVER_S_DN}e RequestHeader append SSL_CIPHER_USEKEYSIZE
>     %{SSL_CIPHER_USEKEYSIZE}e 
> 
> Bill
> 
>