git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Jonathan
Message 2 of 2 in “smart http push setup/egit win7”
  1. JonathanNov 5, 2014
  2. Jeff KingNov 6, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.