How to configure SVN to show a collection of repositories

1k Views Asked by At

I want to show a collection of all repositories using mod_authz_svn. When I access it, I get a 403 error (forbidden).

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.

Is it even possible to show a collection of repositories while using AuthzSVNAccessFile?

This is my dav_svn.authz:

[groups]
admin = me
users = you,others

[/]
* = r
@admin = rw

[repo:/subfolder]
@users = rw
2

There are 2 best solutions below

0
On BEST ANSWER

This worked for me.

On my Ubuntu 14.04 server, I added the following line to /etc/apache2/mods-enabled/dav_svn.conf
SVNListParentPath on

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

2
On

I created an index.html showing a list of all of my repo, each name on the list is a name to repository itself.