Monday, March 10, 2008

HTTP setup for accessing subversion

Install modules mod_dav_svn.so mod_authz_svn.so
and make the following change in your httpd.conf

DAV svn
SVNPath /path/to/svn
AuthType Basic
AuthName "Your Subversion"
AuthUserFile /path/to/htpasswd
Require valid-user
Note: For further security you can have this location accessible only through SSL by using virtual host directive.

No comments: