summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Lodato <lodatom@gmail.com>2009-10-31 00:47:39 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-11-05 01:58:15 (GMT)
commitf5ba2d18f96037749f370c1386935e60f034c87e (patch)
tree8131ccda31667f11d2ed62661702411126d4f64f
parent8127f778a0f6495a0b8484a21b5591e56d873de8 (diff)
downloadgit-f5ba2d18f96037749f370c1386935e60f034c87e.zip
git-f5ba2d18f96037749f370c1386935e60f034c87e.tar.gz
git-f5ba2d18f96037749f370c1386935e60f034c87e.tar.bz2
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>
-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 2989c9f..f17251a 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