[Web-SIG] about WSGI adoption
manlio_perillo at libero.it
Fri Nov 16 21:26:17 CET 2007
Manlio Perillo ha scritto:
> In these days I have to install a Trac instance.
> Trac needs a TRAC_ENV variable, and it seems that the only ways to set
> this variable is to:
> 1) Set the TRAC_ENV environment variable (CGI)
> 2) Use the TracEnv mod_wsgi option
> I found it remarkable that Trac does not has support for WSGI (as an
> example defining a `trac.trac_env` WSGI variable).
My bad, Trac *has* such a variable:
Unfortunately this is not documented.
In fact http://trac.edgewall.org/wiki/TracModWSGI suggests to set the
environment in the application script.
More information about the Web-SIG