Code

http-backend: more explict LocationMatch
[git.git] / Documentation / git-http-backend.txt
index 2989c9f226b250561ef0a2f93a5193f8457a9e7a..f17251ab9de90297b94800cd314385b8d6578572 100644 (file)
@@ -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