* 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.

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:...} :-)

nd

Reply via email to