@matheusbsbs / matheus-bagliano / commits / f5ba2d18f9
Fork 0

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>

Mark Lodato committed Oct 30, 2009 at 17:47 UTC f5ba2d18f96037749f370c1386935e60f034c87e
1 file changed +1 -1
Documentation/git-http-backend.txt
+1 -1
@@ -69,7 +69,7 @@ To enable anonymous read access but authenticated write access,
69 require authorization with a LocationMatch directive:
70 +
71 ----------------------------------------------------------------
72 -<LocationMatch ".*/git-receive-pack$">
72 +<LocationMatch "^/git/.*/git-receive-pack$">
73 AuthType Basic
74 AuthName "Git Access"
75 Require group committers