Re: smart http push setup/egit win7
- From
Jeff King <peff@peff.net>
- Date
- Nov 6, 2014, 05:40 UTC
- Message-ID
- <20141106054035.GB22835@peff.net>
- In-Reply-To
- <1743053007.847058.1415214689002.JavaMail.yahoo@jws106105.mail.bf1.yahoo.com>
On Wed, Nov 05, 2014 at 07:11:29PM +0000, Jonathan wrote:
> The client can connect to and successfully fetch the repo from the > server over https. However, when trying to push egit gives the error > "remote does not support http push." When attempting a push via bash, > I get "return code 22 - fatal: git-http-push failed."
Git will not allow a push unless the client is authenticated (and the git client may fallback to trying dumb-http push-over-DAV, which you likely haven't configured; that would explain the second error message).
The authentication check in http-backend checks whether $REMOTE_USER is set. I see in your config that you set it from $REDIRECT_REMOTE_USER, but I don't see any actual Auth directives. Do you need to add that somewhere?
There are some Apache recipes in the git-http-backend manpage that might help.
-Peff