Skip to main content

Posts

Showing posts from February, 2012

Creating a HTTP accessible subversion repository using apache

In this post I am trying to explain , how to create new repository for  HTTP accessible subversion  using apache (hope it helps ..) ----------------------------------------------------------------------------------------------------   1) sudo svnadmin create /path/to/repos 2) create dav_svn_<repo>.autz file and add below contents [groups] dev=<user1>,<user2> newdev=<user3> [/] @dev=rw @newdev=r 3) Modify /etc/apache2/mods-enabled/dav_ svn.conf <Location /svn/<repo>>   DAV svn   SVNPath /home/svn/<repo-name>   AuthType Basic   AuthName "Subversion Repository"   AuthUserFile /etc/apache2/dav_svn.passwd   # To enable authorization via mod_authz_svn   AuthzSVNAccessFile /etc/apache2/dav_svn_<repo>. authz   # The following three lines allow anonymous read, but make   # committers authenticate themselves.  It requires the 'aut...