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.



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

Reply via email to