hgweb.cgi推送时抛出502(错误的网关) [英] hgweb.cgi throws a 502 (bad gateway) when pushing
问题描述
我已经在Windows Server 2008的iis7后面配置了hgweb.cgi.但是,每当我推送时,我都会遇到502错误的网关.我找到了
I've configured hgweb.cgi behind iis7 on windows server 2008. I can pull the repository just fine. However whenever I push I get a 502 bad gateway. I've found a posting which seems to indicate this is a problem with the mercurial config on the server. mercurial doesnt seem to be picking up an http proxy (fiddler) from my local machine even if its configured.
问题是:
- 如何修复" 502问题?
- 无法使用Mercurial来使用代理,这样我就可以找出问题出在哪里吗?
- 鉴于此操作在网络服务器下运行,我如何调整适当"的详细设置?
推荐答案
听起来像此问题.
我在推送存储库时遇到了同样的问题,但是在我安装了更高版本的Mercurial(2.0.1)之后,它就消失了.我使用了此处的说明(请注意Ethan J Brown对该帖子的评论).
I was having the same issues with pushing a repository, but it went away after I had installed a later version of Mercurial (2.0.1). I used the instructions here, (paying attention to the comment to that post by Ethan J Brown).
这篇关于hgweb.cgi推送时抛出502(错误的网关)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!