[Web-SIG] about WSGI adoption

Manlio Perillo manlio_perillo at libero.it
Fri Nov 16 21:16:07 CET 2007


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).

This problem is not only present in Trac; Mercurial too uses enviroment 
variables only (as far as I know).

Moreover Trac and Mercurial have a .cgi and a .fcgi script, but not a 
.wsgi script.


What's the cause of this?


Regards  Manlio Perillo


More information about the Web-SIG mailing list