【发布时间】:2010-05-31 20:27:53
【问题描述】:
我有下一个在 Windows Server 2008 下运行 Apache 2.2 的 SVN 存储库结构:
http://example.com/svn/ 以e:\svn(根)为目标
http://example.com/svn/dir/ 以e:\svn\dir 为目标(具有多个存储库的某个目录)
http://example.com/svn/dir/repo/ 以e:\svn\dir\repo(存储库本身)为目标
如何访问列表以便群组@foo 拥有rw 访问repo?
我有下一个访问列表:
[groups]
@foo = user1, user2
[/]
* = r
[dir/repo:/]
@foo = rw
最后一个字符串在我尝试的任何组合中都不起作用
Apache conf 是下一个:
<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>
<Location /svn/dir/>
SVNParentPath "E:\SVN\Dir"
DAV svn
SVNListParentPath on
AuthType Basic
AuthName "Subversion repositories"
Require valid-user
AuthUserFile svn-auth.txt
AuthzSVNAccessFile svn-acl.txt
</Location>
<Location /svn/dir2/>
SVNParentPath "E:\SVN\Dir2"
DAV svn
SVNListParentPath on
AuthType Basic
AuthName "Subversion repositories"
Require valid-user
AuthUserFile svn-auth.txt
AuthzSVNAccessFile svn-acl.txt
</Location>
【问题讨论】:
标签: svn windows-server-2008 apache2