summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Mark Lodato <lodatom@gmail.com>2009-10-30 17:47:39 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-11-04 17:58:15 -0800
commitf5ba2d18f96037749f370c1386935e60f034c87e (patch)
tree8131ccda31667f11d2ed62661702411126d4f64f /Documentation
parenthttp-backend: add example for gitweb on same URL (diff)
downloadtgif-f5ba2d18f96037749f370c1386935e60f034c87e.tar.xz
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')
-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