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)
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>
No differences found