The specified CGI application is erroneous ... when executing hgweb.cgi for Mercurial

  • I have IIS 6
  • I installed Mercurial in c: / program files / mercurial
  • I installed Python 2.6 in c: / program files / python
  • I added extensions, etc. for their websites in the settings tab "home directory" => '
    • "C: \ program files \ Mercurial \ python \ python.exe" -u "% s" "% s"
    • extenstion = .cgi
  • I enabled python.exe in web service extensions
    • "C: \ Program Files \ Mercurial \ Python \ python.exe" -u "% s" "% s"
  • I resolved all unknown cgi, although this 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 behaves badly without returning the full set of HTTP headers."

Please help me, I am very upset. Thank you very much!

Maarten / Netherlands

+2
source share

Source: https://habr.com/ru/post/1383388/


All Articles