hgweb.cgi throws a 502 (bad gateway) when pushing

若如初见. 提交于 2019-12-19 07:40:11

问题


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.

Questions are:

  1. how do I 'fix' the 502 problem?
  2. failing that how do I make mercurial use the proxy so I can figure out whats going wrong?
  3. how do I adjust the verbosity setting for mercurial 'properly' given that this is running under a webserver?

回答1:


It sounds like this problem.

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).



来源:https://stackoverflow.com/questions/4973331/hgweb-cgi-throws-a-502-bad-gateway-when-pushing

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!