From: Jeff King Date: Sun, 11 Nov 2012 18:28:42 GMT Subject: Re: Failure using webdav basic auth by git client Message-ID: <20121111182842.GC21654@sigill.intra.peff.net> In-Reply-To: <121F1C4AA6A845229D3DF5808B4F0F9E@black> On Sun, Nov 11, 2012 at 01:09:02PM -0500, Jason Pyeron wrote: > > My google fu has failed me on this issue. I am trying to setup http(s) > > repositories for git. If I require authenticated users then git asks > > for a username and password for the first volley of communications, but > > then does not include the Authorization header on subsequent requests. > [...] > > > GET /git/test/info/refs?service=git-receive-pack HTTP/1.1 > > User-Agent: git/1.7.9 Can you try with a more recent git version? There were some bugs with on-demand http auth when using the dumb protocol (which I see you are using). They were fixed in v1.7.10.2 and higher. Also, consider setting up the smart-http protocol, as it is way more efficient. -Peff