How can I setup write access policies for an SVN repository under Apache2 on Windows Server 2008? Please help. TIA!
Update1:
I have next configuration already:
<Location /svn> SVNParentPath "E:\SVN" DAV svn SVNListParentPath on AuthType Basic AuthName "Subversion repositories" Require valid-user AuthUserFile svn-auth.txt #AuthzSVNAccessFile svn-acl.txt </Location> File D:\Program Files (x86)\Apache 2.2\svn-auth.txt created with htpasswd and looks like this:
foobar:$apr1$cV5.....$iwiJXkY6qlKopphUxlPMM/ All works fine.
File D:\Program Files (x86)\Apache 2.2\svn-acl.txt looks looks this:
[groups] full = foobar [/] @full = rw * = r And when I uncommented AuthzSVNAccessFile svn-acl.txt I got
403 Forbidden You don't have permission to access /svn/ on this server. Here is an error.log record:
The URI does not contain the name of a repository. [403, #190001] I need next directories hierarchy:
E:\SVN is a root directory for all repositories - I want to list the all. It contains E:\SVN\test - is a project repository.
and E:\SVN\foobar - is a sub-root directory containing E:\SVN\foobar\foo and E:\SVN\foobar\bar - project repositories.