Advertisement
philippxp

Untitled

Aug 18th, 2011
268
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1.  
  2. ScriptAlias /git-http/ /usr/bin/git-http-backend/
  3.  
  4. ##############################################################################
  5. ##
  6. ## git-http/private/*
  7. ##
  8. ##############################################################################
  9.  
  10. # fetchen
  11. <LocationMatch "^/git-http/private/.*/git-upload-pack$">
  12. AuthName "Crowd Authentication"
  13. AuthType Basic
  14. AuthBasicProvider crowd
  15.  
  16. CrowdAppName svn
  17. CrowdAppPassword <password>
  18. CrowdURL http://localhost:8095/crowd/
  19. CrowdTimeout 0
  20.  
  21. Require group <groupname>
  22. AuthzUserAuthoritative Off
  23. </LocationMatch>
  24.  
  25. # pushen
  26. <LocationMatch "^/git-http/private/.*/git-receive-pack$">
  27. AuthName "Crowd Authentication"
  28. AuthType Basic
  29. AuthBasicProvider crowd
  30.  
  31. CrowdAppName svn
  32. CrowdAppPassword <password>
  33. CrowdURL http://localhost:8095/crowd/
  34. CrowdTimeout 0
  35.  
  36. Require user gerrit.codereview
  37. AuthzUserAuthoritative Off
  38. </LocationMatch>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement