Subversion server with Apache on Mac OS X.6 Snow Leopard

Create /etc/apache2/other/svn.conf:

LoadModule dav_svn_module /usr/libexec/apache2/mod_dav_svn.so

<Location /svn>
    DAV svn
    SVNParentPath /Users/jerome/svn
</Location>

This will make the Subversion repository /Users/jerome/svn/toto available at http://localhost/svn/toto.

Update the repositories owner (otherwise commits would fail):

chown -R www:www /Users/jerome/svn/*

Restart Apache

sudo apachectl restart

Reference

Feedback

instructions for lion
http://www.themacosxserveradmin.com/2011/01/lion-server-and-svn.html
Chris Blanche
Aug 31, 2011
#1