aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/git-http-backend.txt
diff options
context:
space:
mode:
authorMark Lodato <lodatom@gmail.com>2009-10-30 17:47:39 -0700
committerJunio C Hamano <gitster@pobox.com>2009-11-04 17:58:15 -0800
commitf5ba2d18f96037749f370c1386935e60f034c87e (patch)
tree8131ccda31667f11d2ed62661702411126d4f64f /Documentation/git-http-backend.txt
parent8127f778a0f6495a0b8484a21b5591e56d873de8 (diff)
downloadgit-f5ba2d18f96037749f370c1386935e60f034c87e.tar.gz
http-backend: more explict LocationMatch
In the git-http-backend examples, only match git-receive-pack within /git/. Signed-off-by: Mark Lodato <lodatom@gmail.com> Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-http-backend.txt')
-rw-r--r--Documentation/git-http-backend.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/git-http-backend.txt b/Documentation/git-http-backend.txt
index 2989c9f226..f17251ab9d 100644
--- a/Documentation/git-http-backend.txt
+++ b/Documentation/git-http-backend.txt
@@ -69,7 +69,7 @@ To enable anonymous read access but authenticated write access,
require authorization with a LocationMatch directive:
+
----------------------------------------------------------------
-<LocationMatch ".*/git-receive-pack$">
+<LocationMatch "^/git/.*/git-receive-pack$">
AuthType Basic
AuthName "Git Access"
Require group committers