Here i describe how I add new repositories to my SVN server once I start working on something new and interesting.
First create URL for repository so add following to vhost configuration
<Location /svn/yourproject> DAV svn SVNParentPath /svn/yourprojeect SVNListParentPath on AuthType Basic AuthName "Yourproject svn" AuthUserFile /etc/subversion/yourproject.passwd Require valid-user </Location>
Create user and give the user a password
htpasswd -c /etc/subversion/yourproject.passwd youruser
Create directory for your svn and initialize svn repository in there.
mkdir /svn/yourproject/ svnadmin create /svn/yourproject/svnrepository chown -R www-data:svn /svn/yourproject/ chmod -R g+wrs /svn/yourproject/ service apache2 restart
See also solution to problems that might arise.





