> 4) configured the virtual directory in IIS above to run > "c:\python23\python.exe" -u %s %s on .cgi extensions
If the path has a space in it, try adding quotes around the "%s". If the virtual directory is on a network share, move it to a local dir. > Added some logging statements to a log file at the top of > moin.cgi, just to > see if it was executing at all (runs fine from the command > line, btw). > Apparently not: getting a "CGI Error: The specified CGI application > misbehaved by not returning a complete set of HTTP headers", That sounds to me like Python is being executed, but throwing some kind of exception. It may be a very early error, such as the named script file not being found (hence my suggestions above), or it could be a very early exception in the script. > and no log is > generated. Funny thing is that if I remove the "-u %s %s" > from the cgi > extension setup (4), I get a timeout error instead. That sounds like Python is correctly being executed and sitting at an interactive prompt. It never terminates, so IIS times it out. > Looks > like IIS knows > about the CGI mapping, but is not running the python interpreter. Sounds to me more like Python *is* being executed, but failing. Mark _______________________________________________ Python-win32 mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/python-win32