HgWebDir And IIS 6

T.J. Simmons theimmortalbum at gmail.com
Tue Apr 27 06:36:09 CDT 2010


I'm extremely new to IIS, but when I dug for the logs (looking in the folder called HTTPERR), I was unable to find anything for my specific IP, but all of the entries in there pertained to idle/dropped connections. 

I'm able to navigate to hgwebdir.cgi and view the repository online, and as I said, the push works even though I'm returned the HTTP 500: access is denied. I've got hgwebdir.cgi on the same drive as the repository, and I gave the anonymous IIS account full read/write access to the repo's folder. Should it also have some sort of permissions on hgwebdir.cgi?

Thanks.

T.J. Simmons
Sent from my iPhone

On Apr 27, 2010, at 6:17 AM, Paul Boddie <paul.boddie at biotek.uio.no> wrote:

> T.J. Simmons wrote:
>> Hi all, I've run into a bit of a snafu installing hgwebdir.cgi on Windows
>> Server 2003 running IIS 6. The script installs fine, and I can access it
>> over the web, but every time I push from my local machine to the server, I
>> get the following error: abort: HTTP Error 500: Access is denied. The
>> bizarre part about this, though, is that even though it tells me the push
>> aborts, I can hg update on the server-side repo and update to my latest
>> changeset I tried to push. Has anyone had a similar experience, or knows
>> more about IIS than I do (which is, admittedly, very little)?
>>  
> 
> I suppose you've set the repository up as described here:
> 
> http://mercurial.selenic.com/wiki/PublishingRepositories#push
> 
> With a 500 error it sounds like either your Web server isn't configured in exactly the right way, or that hgwebdir.cgi itself encounters an unexpected problem and raises an exception. What do your server logs have to say on the matter?
> 
> Paul


More information about the Mercurial mailing list