The specified CGI application misbehaved… when executing hgweb.cgi for Mercurial

旧时模样 提交于 2019-12-11 03:57:13

问题


  • 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

来源:https://stackoverflow.com/questions/6177810/the-specified-cgi-application-misbehaved-when-executing-hgweb-cgi-for-mercuri

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!