Web Hosting on Microsoft IIS

Matt Hawley Matt.Hawley at microsoft.com
Thu Apr 8 16:15:13 CDT 2010

I finally got around to giving isapi-wsgi a try and fully documented the setup in a blog post. It may be worth adding a link as a guide in the script created by Sune.



From: mercurial-bounces at selenic.com [mercurial-bounces at selenic.com] on behalf of Matt Hawley [Matt.Hawley at microsoft.com]
Sent: Wednesday, March 03, 2010 12:55 PM
To: Sune Foldager
Cc: mercurial at selenic.com
Subject: RE: Web Hosting on Microsoft IIS

We currently use the binaries, so thanks for the additional tip.

-----Original Message-----
From: Sune Foldager [mailto:cryo at cyanite.org]
Sent: Wednesday, March 03, 2010 12:54 PM
To: Matt Hawley
Cc: mercurial at selenic.com
Subject: Re: Web Hosting on Microsoft IIS

On 03-03-2010 16:42, Matt Hawley wrote:
> Thanks for the script Sune. I'm going to give it a shot over here and run it by our perf team to see if we gain any benefits by using it.

Sounds good. There are some limitations I wasn't fully aware of, mainly that hgwebdir_wsgi.py won't work with the binary installer, since it can't handle the frozen environment produced by py2exe very well. So Mercurial needs to be installed from source.

This is not entirely true, though, since we, at work, do use a binary installer to run this script. But our binary installer is special in that it tells py2exe not to pack everything up into a zip file for our server installers. Conincidentally, this means that hgwebdir_wsgi also works :-p.

We're currently pondering how, if possible, it can be made to work with the standard binary installer, but for now you will need to install Mercurial from source instead.

Maybe you already do, so all this is moot, but still :)


Mercurial mailing list
Mercurial at selenic.com

More information about the Mercurial mailing list