]> git.ipfire.org Git - thirdparty/git.git/commit - Makefile
Git-aware CGI to provide dumb HTTP transport
authorShawn O. Pearce <spearce@spearce.org>
Sat, 31 Oct 2009 00:47:32 +0000 (17:47 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 5 Nov 2009 01:58:04 +0000 (17:58 -0800)
commit2f4038ab337e55017d4ff21ddbae9427544ca02c
tree946e2ec5533057a197be4b0efc9d885a1c2154e1
parentd8f67d205eb98ea6dab915c29122158054218128
Git-aware CGI to provide dumb HTTP transport

The git-http-backend CGI can be configured into any Apache server
using ScriptAlias, such as with the following configuration:

  LoadModule cgi_module /usr/libexec/apache2/mod_cgi.so
  LoadModule alias_module /usr/libexec/apache2/mod_alias.so
  ScriptAlias /git/ /usr/libexec/git-core/git-http-backend/

Repositories are accessed via the translated PATH_INFO.

The CGI is backwards compatible with the dumb client, allowing all
older HTTP clients to continue to download repositories which are
managed by the CGI.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
.gitignore
Documentation/git-http-backend.txt [new file with mode: 0644]
Makefile
http-backend.c [new file with mode: 0644]