开发者

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 2开发者_运维百科008 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:

  • http://www.jeremyskinner.co.uk/mercurial-on-iis7/ (we followed this guide almost religiously)
  • http://vampirebasic.blogspot.com/2009/06/running-mercurial-on-windows.html
  • http://www.endswithsaurus.com/2010/05/setting-up-and-configuring-mercurial-in.html
  • How to setup Mercurial and hgwebdir on IIS?


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜