From: Antonio García Domínguez Date: Tue, 09 Mar 2010 19:01:12 GMT Subject: Re: git-http-backend and Authenticated Pushes Message-ID: <2b8265361003091101x1e3a3410hc3be2446dc7ddce@mail.gmail.com> In-Reply-To: <46a47f951003090908s62512bd7xcbb707205958e004@mail.gmail.com> Hi Ryan, > Anybody know what I missed? I think you need authentication for everything regarding git-receive-pack, even that GET request. I ran into that issue while patching Redmine's mod-perl authentication module to handle smart HTTP [1]. Public projects (which have anonymous pull and authenticated push) would just not work. Git first GETs that URL you mention, and then POSTs to the usual git-receive-pack URL. Both need authentication, but you're only authenticating the POST. I suggest you authenticate every request to the git-receive-pack service. Try something like this (warning, untested!): > If anyone else has a better idea, I'd like to know myself :-). [1]: http://www.redmine.org/issues/4905 Cheers, Antonio