如何配置SVN以显示存储库集合 [英] How to configure SVN to show a collection of repositories
问题描述
我想使用mod_authz_svn显示所有存储库的集合.访问它时,出现403错误(禁止).
I want to show a collection of all repositories using mod_authz_svn. When I access it, I get a 403 error (forbidden).
我发现,当未指定 AuthzSVNAccessFile/etc/apache2/dav_svn.authz
时,它运行良好,并且我看到了所有存储库,但是权限(当然)不再起作用了.
I found out it works fine, when not specifying AuthzSVNAccessFile /etc/apache2/dav_svn.authz
, and I am seeing all my repositories, but permissions (of course) don't work anymore.
使用 AuthzSVNAccessFile
时是否甚至可以显示存储库集合?
Is it even possible to show a collection of repositories while using AuthzSVNAccessFile
?
这是我的 dav_svn.authz :
[groups]
admin = me
users = you,others
[/]
* = r
@admin = rw
[repo:/subfolder]
@users = rw
推荐答案
这对我有用.
在Ubuntu 14.04服务器上,我将以下行添加到/etc/apache2/mods-enabled/dav_svn.conf SVNListParentPath on
On my Ubuntu 14.04 server, I added the following line to /etc/apache2/mods-enabled/dav_svn.conf
SVNListParentPath on
确保重新启动Apache: $ sudo/etc/init.d/apache2重新启动
Be sure to restart Apache:
$ sudo /etc/init.d/apache2 restart
这篇关于如何配置SVN以显示存储库集合的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!