[mod_python] SetEnv and add_common_vars()

Gregory (Grisha) Trubetskoy grisha at modpython.org
Thu Feb 5 06:38:07 EST 2004

I am unable to replicate this problem. Perhaps you can provide more
details, such as the OS, version of apache, version of mod_python and the
config excertps that specifies SetEnv?


On Fri, 9 Jan 2004, Edwin Grubbs wrote:

> When I use SetEnv in my apache conf file, it causes a lot of the
> environment variables (such as DOCUMENT_ROOT) to disappear that
> add_common_vars() normally would set.
> The only workaround I have is to put the SetEnv statements in a
> different <Directory> block than the directory with the files served by
> mod_python.
> Is this a bug in mod_env or mod_python? Is there a better way to fix
> this?
> -Edwin
> _______________________________________________
> Mod_python mailing list
> Mod_python at modpython.org
> http://mailman.modpython.org/mailman/listinfo/mod_python

More information about the Mod_python mailing list