author | Shawn O. Pearce <spearce@spearce.org> | |
Sat, 31 Oct 2009 00:47:32 +0000 (17:47 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 5 Nov 2009 01:58:04 +0000 (17:58 -0800) | ||
commit | 2f4038ab337e55017d4ff21ddbae9427544ca02c | |
tree | 946e2ec5533057a197be4b0efc9d885a1c2154e1 | tree | snapshot |
parent | d8f67d205eb98ea6dab915c29122158054218128 | commit | diff |
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>
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 | diff | blob | history | |
Documentation/git-http-backend.txt | [new file with mode: 0644] | blob |
Makefile | diff | blob | history | |
http-backend.c | [new file with mode: 0644] | blob |