[Web-SIG] about WSGI adoption
graham.dumpleton at gmail.com
Fri Nov 16 22:47:05 CET 2007
On 17/11/2007, Manlio Perillo <manlio_perillo at libero.it> wrote:
> 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.
FWIW, the Trac instructions on the Apache mod_wsgi site go into a lot
more detail than those on the Trac site, including mentioning all the
WSGI environment specific options.
More information about the Web-SIG