The specified CGI application misbehaved… when exe

2019-07-17 08:41发布

问题:

  • I have IIS 6
  • I installed Mercurial in c:/program files/mercurial
  • I installed Python 2.6 in c:/program files/python
  • I added extension handlings etc for my websites under tab 'home directory'=>'configuration
    • "C:\program files\Mercurial\python\python.exe" -u "%s" "%s"
    • extenstion = .cgi
  • I allowed python.exe in web service extensions
    • "C:\Program Files\Mercurial\Python\python.exe" -u "%s" "%s"
  • I allowed all unknown cgi, although it is not recommended for security reasons
  • I have a website on E:\WWW\ -I have a repository on E:\WWW\

Then I try to access http://localhost/hgweb.cgi and I get this error:

"The specified CGI application misbehaved by not returning a complete set of HTTP headers"

Please, help for I am getting pretty frustrated. Thanks a lot!

Maarten / Netherlands