On Mar 24, 2011, at 10:12, <[email protected]> <[email protected]> wrote:
> we're trying to set up the following config: > > http://svnserver/svn/parentpathtest > |- repo1 > |- repo2 > \- repo3 > > The internal users of the project are supposed to be able to access all three > repositories, while a bunch of external users are supposed to be able to > access only repo2. We've been trying to achieve this with the following > config: > > <Location /svn/parentpathtest> > DAV svn > SVNParentPath /subversion/parentpathtest > AuthType Basic > AuthName "Repository /svn/parentpathtest" > Require ldap-group CN=pr_parent,OU=Groups,DC=sub,DC=example,DC=com > </Location> > > <Location /svn/parentpathtest/repo2> > DAV svn > SVNPath /subversion/parentpathtest/repo2 > AuthType Basic > AuthName "Repository /svn/parentpathtest/repo2" > Require ldap-group CN=pr_parent_ext,OU=Groups,DC=sub,DC=example,DC=com > </Location> You will either want a single Location block containing an SVNParentPath directive, or multiple Location blocks each with an SVNPath directive. Not both.
