Graham Dumpleton ha scritto: > On 17/11/2007, Manlio Perillo <[EMAIL PROTECTED]> 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 applications? Regards Manlio Perillo _______________________________________________ Web-SIG mailing list Web-SIG@python.org Web SIG: http://www.python.org/sigs/web-sig Unsubscribe: http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com