> -----Original Message-----
> From: Andr� Malo [mailto:[EMAIL PROTECTED]
[SNIP]
> * Joe Orton <[EMAIL PROTECTED]> wrote:
> 
> > On Mon, Mar 01, 2004 at 10:37:46AM -0800, Mathihalli, 
> Madhusudan wrote:
> > > Hi,
> > >   Question: Can we use the environment variables setup by mod_ssl
> > >   in the RewriteCond directive ?
> > 
> > Not like in 1.3; in 2.0 you can use %{LA-U:ENV:...} to fetch the SSL
> > variables via a subrequest; a better solution is to extend 
> mod_rewrite
> > to allow %{SSL:...} or something to use ssl_var_lookup() 
> when available,
> > to fetch variables directly from mod_ssl.

Infact, I tried the LA-U:ENV logic - what happens is that for the very first request, 
the env is NOT available - however, for any subsequent requests, the ENV shows up 
correctly


> Sounds good. But we'd need to hook the variable creation 
> earlier anyway, since
> ssl_var_lookup finally just uses r->subprocess_env.
> And then -- we could just use %{ENV:...} :-)

I guess so - I have a working patch. I'll post it after doing some testing.

-Madhu

Reply via email to