简体   繁体   中英

Unable to get Mercurial's hgweb.cgi working on IIS7

I have been using this guide http://tinyurl.com/mercurial-iis to attempt to setup Mercurial on IIS 7. I have followed every step however when I try to access the site I get the following error:

Error Summary

HTTP Error 500.0 - Internal Server Error There is a problem with the resource you are looking for, so it cannot be displayed.

Detailed Error Information

Module IsapiModule
Notification ExecuteRequestHandler
Handler Mercurial-ISAPI
Error Code 0x8007007e

Requested URL http://localhost:81/ Physical Path C:\\inetpub\\hg
Logon Method Anonymous
Logon User Anonymous

I am using the following setup:

  • Windows Server 2008 SP2 x64 OS
  • IIS7
  • Python 2.6.6 32bit
  • Mercurial 1.7.5 32bit
  • pywin32-215

I would recommend dropping the ISAPI and try going down the CGI route. That's what we did - and it has been working flawlessly. It's not like the performance difference is going to be noticeable anyway.

Useful links:

1.7.1+ changed a few things that aren't reflected in most of the links floating around. Try this tutorial that I posted a while back, it seems like a few people have been successful with it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM