Use current project as example for setting-up a directory structure of Apache server configured as VisualSVN server on Ubuntu 12.04
Subversion repositories are available under HTTPS protocol at https://localhost:8443/svn/
svnadmin create /var/svn/repos/REPO_NAME chown -R www-data:www-data /var/svn/repos/REPO_NAME
All repositories will be accessible via https://localhost:8443/svn/
Username: demo Password: demo
To add new user:
htpasswd -m /var/svn/dav_svn.htpasswd <ENTER_USER_NAME_HERE>
Setting permissions per project: see file /var/svn/dav_svn.authz
All Subversion directories must be writable by Apache (www-data).
chown -R www-data:www-data /var/svn/ chown -R www-data:www-data /var/www/
You can either use CA (certification authority) or self-signed certificate. Put it in file /etc/apache2/ssl.key/server.pem
Read about creation and self-signing on https://devcenter.heroku.com/articles/ssl-certificate-self for example.
You can now checkout the revision zero of your subversion repository by:
svn checkout https://localhost:8443/svn/REPO_NAME