trac running on Microsoft IIS.
|Reported by:||Owned by:||Jonas Borgström|
Out of the box trac will not run on IIS as a CGI application. I have debuged the problem and the cause is that IIS uses a different format for it's PATH_INFO variable. PATH_INFO includes the script name and path. To work around this I have modified real_cgi_start in core.py as follows:
path_info = os.getenv('PATH_INFO')
path_info = os.getenv('PATH_INFO').replace(os.getenv('SCRIPT_NAME'),"")
I'm not sure where/how the best place to make this change is.
p.s. also - whats with logging on Windows? The Log file never gets written to.