[Web-SIG] about WSGI adoption

Manlio Perillo manlio_perillo at libero.it
Sun Nov 18 18:59:50 CET 2007

Graham Dumpleton ha scritto:
> 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:
>> trac.env_path
>> 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.
> Graham

Thanks, very good guide.

However I still consider remarkable that there is not a "trac.wsgi" script.

Can this be caused by the lack of a standardized deployment of WSGI 

Regards  Manlio Perillo

More information about the Web-SIG mailing list