Greetings,
I have a virtual host in Apache defined as follows:
<VirtualHost *:443>
ServerAdmin webmaster_at_domain.com
ServerName svn.domain.com
ErrorLog logs/svn.domain.com-error_log
CustomLog logs/svn.domain.com-access_log common
CustomLog logs/svn.domain.com-svn_log "%t %u %{SVN-ACTION}e"
env=SVN-ACTION
DirectoryIndex index.html
<SSL snipped>
<Location />
DAV svn
SVNParentPath /path/svn/
SVNListParentPath on
AuthzSVNAccessFile /path/auth/svnaccess
AuthType Basic
AuthName "Domain Repository"
AuthUserFile /path/auth/htpasswd
Require valid-user
SSLOptions +StdEnvVars
Order Allow,Deny
Allow from all
</Location>
</VirtualHost>
I previously used this without AuthzSVNAccessFile, which worked
perfecly. DAV builds me a list of repositories in the root
(https://svn.domain.com), and you can select the repository. However,
as we make use of contractors we wouldn't like all of them to see all
our repositories, just those for the projects they are involved in. So
I added AuthzSVNAccessFile to control this. My setup there is as
follows:
[project1:/]
@project1 = rw
[project2:/]
@project2 = rw
This controls access to the individual repositories fine. However,
everyone is getting a access denied to the root of the server, so we
cannot get a dynmic list of repositories any more.
How can I describe permissions to the root in the AuthzSVNAccessFile? I
would like to give everyone permissions to see all the repositories to
start with.
I already tried
[:/]
[/]
Alternatively, what is the best way to do a redirect to either a dynamic
script that builds it automatically, or a static dopcument listing the
repositories?
Thanks :)
Braam van Heerden
Conversant Systems (Pty) Ltd
Tel: +27 11 782 2930
Cell: +27 82 336 4643
Skype: braamvh
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-02-25 11:59:46 CET