Hello Mauro,
> I'm using a multiple repositories configuration of subversion.
> If I don't use the authz conf file I can browse the list of
> repositoris (allowen in http.conf with directive
> SVNListParentPath On).
> If I use authz conf file apache le tme access only to
> different repositories but not to the "index" list of them.
> Is it possible to both use authz file and see the list of
> repositories?
>
Yes, I do. If I remember correctly, the issue is with how you configure
apache for your sites and if you use the slash on the end of the path.
Excerpts from my working configuration follow:
<Location /svn/department1/>
DAV svn
SVNIndexXSLT "/subversion/svnindex.xsl"
SVNParentPath D:/svn/department1/
SVNListParentPath On
# restrict access to subversion repository paths...
AuthzSVNAccessFile D:/svn/department1/svn-users.txt
</Location>
...I have multiple ParentPath repo-groups using different <Location>s.
The important bit was using the '/' at the end of the location string so
that you can grant (at least) read permission in your AuthzSVNAccessFile
for the root directory:
# Give all authenticated users read access to the root
# NB: use "* = " for all [repo:/] sections to remove access
[/]
I hope that helps!
~ Mark C
Received on 2010-04-01 13:10:58 CEST