Browse Source

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>
maint
Mark Lodato 15 years ago committed by Junio C Hamano
parent
commit
f5ba2d18f9
  1. 2
      Documentation/git-http-backend.txt

2
Documentation/git-http-backend.txt

@ -69,7 +69,7 @@ To enable anonymous read access but authenticated write access,
require authorization with a LocationMatch directive: require authorization with a LocationMatch directive:
+ +
---------------------------------------------------------------- ----------------------------------------------------------------
<LocationMatch ".*/git-receive-pack$"> <LocationMatch "^/git/.*/git-receive-pack$">
AuthType Basic AuthType Basic
AuthName "Git Access" AuthName "Git Access"
Require group committers Require group committers

Loading…
Cancel
Save