Install the wandisco repo to get the latest version of subversion for CentOS

Issue the following at shell

Restart httpd, it’ll do it itself while installing but go ahead and restart just in case it doesn’t.

Create a domain or a subdomain on the Plesk server and add the following to the vhost.conf at /var/www/vhosts/system/svn.xyz.com/conf

Now create a svn user, note that these users would be independent of system and Plesk users

Now issue the following command to get Plesk to read the new vhost.conf file

Create a test repo

Create an entry in the auth file

Based on your folder structure inside the repo, you can even grant access to one particular folder N levels inside the structure tree.

That’s it, try it. Leave a comment if you experience any issue.

 

  • Lm

    Thank you for your tuto,

    the line
    htpasswd -m /var/www/vhosts/svn.xyz.com/passwd testuser

    should be ?
    htpasswd -m /var/www/vhosts/xyz.com/svn.xyz.com/passwd testuser

    I have a question about the entry in the auth file:
    Which file is it ?

    • theshell

      that’s not an issue, you can keep it however you want