SVN Users and Repositories

We have setup our SVN to be accessed through http with the help of Apache. Here’s a sample configuration that we have used. vi /etc/httpd/conf.d/vhosts.conf Add the below into subversion.conf <VirtualHost *:443> ServerName svn.mydomain.com DocumentRoot /var/www/svn.mydomain.com <Directory /var/www/svn.mydomain.com> AllowOverride All Order Allow,Deny Allow from all Options -Indexes Require all granted </Directory> <Location /repos/newrepository> DAV svn SVNPath /var/svn/repos/newrepository AuthName "Subversion repository" AuthType Digest AuthUserFile /var/svn/svn-auth.htdigest AuthzSVNAccessFile /var/svn/svn-acl.conf Require valid-user </Location> SSLEngine on SSLProtocol all SSLCertificateFile /etc/pki/tls/certs/ca.svn.mydomain.com.crt SSLCertificateKeyFile /etc/pki/tls/private/ca.svn.mydomain.com.key ErrorLog /var/log/httpd/svn.mydomain.com-error_log CustomLog /var/log/httpd/svn.mydomain.com-access_log combined </VirtualHost> You can create a new SVN user by using the command below. This would store the encrypted password into svn-auth.htdigest ...

March 7, 2016