...
Code Block | ||
---|---|---|
| ||
<Location /svn> AuthName "Atlassian Crowd" AuthType Basic AuthBasicProvider crowd CrowdAppName subversion CrowdAppPassword yourpassword CrowdURL http://localhost:8095/crowd/ CrowdCreateSSO off # Improves performance when using Subversion clients that DAV svn # Set this to the path to your repository SVNPath /opt/svn-data/hamsters AuthzSVNCrowdAccessFile /etc/apache2/dav_svn.authz Require valid-user </Location> |
Next you should create your repository... steps to go here.
After the repository is created, in order for the WebDAV process to work with the repository you need to change the permissions,
Code Block | ||
---|---|---|
| ||
cd /opt/svn-data
sudo chown -R www-data:subversion hamsters
sudo chmod -R g+rws hamsters |
Note, you will need to this for all future repositories or else you will get the error (to document).
...
References
http://confluence.atlassian.com/display/CROWD/PostgreSQL+for+CrowdID
http://confluence.atlassian.com/display/CROWD011/3.2.1+Integrating+Crowd+with+Apache+or+Subversion
This article helped with permission of repositories - https://help.ubuntu.com/community/Subversion