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

Re: Add Git-aware CGI for Git-aware smart HTTP transport

From
HAH. Peter Anvin <hpa@zytor.com>
Date
Aug 13, 2008, 15:41 UTC
Message-ID
<48A300B7.10002@zytor.com>
In-Reply-To
<20080813145341.GA3782@spearce.org>
Shawn O. Pearce wrote:
Show 7 quoted lines
> 
> Hmm.  So what if the "smart" protocol used a redirect to the CGI
> and the dumb protocol didn't use any redirects at all?  I say this
> because I think the dumb protocol won't handle redirects well.
> It will do them, but it would incur a redirect on every request
> it makes.
> 
That's preferrable anyway, in my opinion.
> Setting this up on a server which doesn't have the power of mod_regex
> available would be tricky, as you need to link the CGI into every
> single repository you are serving.  I don't know (or use) many other
> HTTP servers beyond Apache so I'm not sure if they can do this.

Many can, and even more can if we instead of git-http-backend had something which looked vaguely like a unique extension, like "backend.git-http"

	-hpa
Previous: Shawn O. Pearce
Message 2 of 2 in “Re: Add Git-aware CGI for Git-aware smart HTTP transport”
  1. Shawn O. PearceAug 13, 2008
  2. H. Peter AnvinAug 13, 2008

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.