|Version 8 (modified by 12 years ago) ( diff ),|
Running Trac on IIS 6
Hint's for getting it working:
- Do NOT rename trac.cgi to trac.py - you will get an import error "No module named core". Either setup the IIS script mapping so that python.exe is used for .cgi files or rename trac.cgi to cgitrac.py.
- Ensure that Python is enabled as a Web Service Extension on IIS 6. You may need to add the python.exe interpreter to get this working. Ensure that you use the same parameters as you have in the script mapping.
The following script mapping is what worked for me:
c:\Python23\python.exe -u "%s" %s
For info on setting up Python for CGI on IIS 6 see: http://www.visualwin.com/Perl/
Also see these messages on the mailing list: