Subversion on Plesk

Installing Subversion on Plesk Servers with http authentication
—————————————

yum install subversion mod_dav_svn
service httpd restart
cd /var/www/vhosts/mydomain.com/conf/
vi vhost.conf :

<Location /repos>
DAV svn
SVNPath /var/www/vhosts/mydomain.com/svn/repos
AuthType Basic
AuthName “mydomain.com repository”
AuthUserFile /var/www/vhosts/mydomain.com/svn/htpasswd
Require valid-user
</Location>

cd ..
mkdir svn
cd svn
svnadmin create repos
htpasswd -c htpasswd ftpuser
cd ..
chown -R ftpuser:apache svn/
/usr/local/psa/admin/bin/websrvmng -v -a
service httpd restart

You can leave a response, or trackback from your own site.

Leave a Reply