Brian Akins wrote:
> Any reason Apache does not allow this:
> SetEnv ORIGIN 1234

SetEnv doesn't really set the environment by itself.  by itself, it sticks
ORIGIN in the subprocess_env table during fixups.  later modules (like
mod_cgi) make calls during content-generation to propagate the
subprocess_env table to the environment.  this is important because...

> 
> RewriteRule /this.html
> http://that.domain.com/this.html?origin=${ENV:ORIGIN} [R,L]

RewriteRule operates during the translation phase.  at this point, SetEnv
settings are still private to mod_env and not part of either the
subprocess_env table or %ENV.

HTH

--Geoff

Reply via email to