Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

Re: smart http push setup/egit win7

From: Jeff King <hidden>
Date: 2016-06-15 23:02:51

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help