HgWebDir And IIS 6

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


At the moment I have basic authentication disabled, and allow_push set to *. Is it possible that the server is set to return an HTTP 500 whenever PUT (or whatever HG uses) is sent over SSL? If so, I'll see if that's the case. I've skimmed the IIS 7 guides, but I'll dig more into the authentication.. It's entirely possible that's my problem.

Thanks. 

T.J. Simmons
Sent from my iPhone

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

> T.J. Simmons wrote:
>> 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?
>>  
> 
> Given that hgwebdir.cgi seems to work, you shouldn't need to give any more filesystem permissions to it (such as write access), no. And given that the operation seems to change the repository, we can probably rule out permission issues there. Reading through the guide to Mercurial on IIS 7, there are notes about authentication requirements. I guess you aren't using authentication, or that it's set up and does at least recognise your credentials, but maybe the server does something odd at the end of the request.
> 
> Paul


More information about the Mercurial mailing list