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>
This commit is contained in:
Mark Lodato 2009-10-30 17:47:39 -07:00 коммит произвёл Junio C Hamano
Родитель 8127f778a0
Коммит f5ba2d18f9
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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