Configuring subversion access over HTTP/DAV

Creating the repository If you have not created any Subversion repositories yet, you can create one with svnadmin: # svnadmin create ~/my-repository Adding mod_dav_svn to your httpd # a2enmod mod\_dav\_svn If you plan to use fine-grained permissions, load mod_authz_svn.so as well: # a2enmod mod_authz_svn Configuring access to repositories HTTP access to your repositories is defined using a <Location> section in your httpd.conf. <Location /myproject> DAV svn SVNPath /home/myself/myrepos/myproject AuthType Basic AuthName "My project" AuthUserFile /home/myself/private/myproject.pw Order deny,allow <LimitExcept GET PROPFIND OPTIONS REPORT> Require valid-user </LimitExcept> </Location> This entry would grant read-only access to everyone and write access to every user AuthUserFile. You can use the htpasswd utility to create or update this file, as described here. ...

29 March 2009 @ 12:53 · Updated: 30 June 2026 @ 03:28 · leo