如何配置 SVN 以显示存储库集合 [英] How to configure SVN to show a collection of repositories

查看:20
本文介绍了如何配置 SVN 以显示存储库集合的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用 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 restart

Be sure to restart Apache:
$ sudo /etc/init.d/apache2 restart

这篇关于如何配置 SVN 以显示存储库集合的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆