diff options
author | Junio C Hamano <junio@kernel.org> | 2011-08-18 06:13:13 +0000 |
---|---|---|
committer | Junio C Hamano <junio@kernel.org> | 2011-08-18 06:13:13 +0000 |
commit | f727901f143d965c00ad283c9cfaee214464e9fd (patch) | |
tree | 257c17b95a31532b7e1365bb5d6f5281afb18dea /git-http-backend.txt | |
parent | df1f3a600a762224ed9c8a5e5123d5bc9e971c12 (diff) | |
download | git-htmldocs-f727901f143d965c00ad283c9cfaee214464e9fd.tar.gz |
Autogenerated HTML docs for v1.7.6-549-gf85a0
Diffstat (limited to 'git-http-backend.txt')
-rw-r--r-- | git-http-backend.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/git-http-backend.txt b/git-http-backend.txt index 277d9e141..f4e0741c1 100644 --- a/git-http-backend.txt +++ b/git-http-backend.txt @@ -119,6 +119,14 @@ ScriptAliasMatch \ ScriptAlias /git/ /var/www/cgi-bin/gitweb.cgi/ ---------------------------------------------------------------- ++ +To serve multiple repositories from different linkgit:gitnamespaces[7] in a +single repository: ++ +---------------------------------------------------------------- +SetEnvIf Request_URI "^/git/([^/]*)" GIT_NAMESPACE=$1 +ScriptAliasMatch ^/git/[^/]*(.*) /usr/libexec/git-core/git-http-backend/storage.git$1 +---------------------------------------------------------------- Accelerated static Apache 2.x:: Similar to the above, but Apache can be used to return static |