Here is my current Apache2 config file’s subsection for serving Subversion and WebDAV folders: default-server.conf (webdav fragment).
Comments:
- I’m using
AuthType Basicfor svn, viewcvs, and filesystem DAV access. It provides some security, and is also necessary for WindowsXP, which apparently will not connect to a Web Folder with no authentication. - The viewCVS location needs its own authentication, since this tool accesses the SVN repository directly using the
file:protocol. In doing so, it bypasses the http server /svn location and its associated authentication. - The
SVNParentPathis convenient because new SVN repositories can be added without editing the conf file. The downside is that different users can’t be restricted to particular repositories or given different access privileges. - ViewCVS has an additional configuration file
/srv/viewcvs/viewcvs.confthat must contain the roots of all repositories, plus a few other items.
Actually, you can use an authz access file to configure user permissions when using SVNParentPath
Details: http://svnbook.red-bean.com/en/1.2/svn.serverconfig.httpd.html#svn.serverconfig.httpd.authz.perdir
Details: http://svnbook.red-bean.com/nightly/en/svn.serverconfig.httpd.html#svn.serverconfig.httpd.authz.perdir
Link | July 19th, 2007 at 6:04 pm