httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffrey Young <>
Subject Re: SetEnv and other modules
Date Thu, 12 Feb 2004 04:23:07 GMT

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

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.



View raw message