Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ScriptAlias /git-http/ /usr/bin/git-http-backend/
- ##############################################################################
- ##
- ## git-http/private/*
- ##
- ##############################################################################
- # fetchen
- <LocationMatch "^/git-http/private/.*/git-upload-pack$">
- AuthName "Crowd Authentication"
- AuthType Basic
- AuthBasicProvider crowd
- CrowdAppName svn
- CrowdAppPassword <password>
- CrowdURL http://localhost:8095/crowd/
- CrowdTimeout 0
- Require group <groupname>
- AuthzUserAuthoritative Off
- </LocationMatch>
- # pushen
- <LocationMatch "^/git-http/private/.*/git-receive-pack$">
- AuthName "Crowd Authentication"
- AuthType Basic
- AuthBasicProvider crowd
- CrowdAppName svn
- CrowdAppPassword <password>
- CrowdURL http://localhost:8095/crowd/
- CrowdTimeout 0
- Require user gerrit.codereview
- AuthzUserAuthoritative Off
- </LocationMatch>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement