I am currently attempting to set up an SVN server using Apache http. I
have followed the documentation so far and have a running system.
I want to add two features which appear to be mutually incompatable but
can't find any
reason why from the documentation.
First - I need to control read/write access to different projects for
different groups. To this end
I have followed the directions for using AuthzSVNAccessFile and have been
able to control
access to each group appropriately. Here is my current http.conf location
# our access control policy
# try anonymous access first, resort to real
# authentication if necessary.
# How to authorize a user
AuthName "Subversion repositories"
In my svn-access-file I have at the top:
* = r
to allow anonymous users read access to all - when I browse to a project
(e.g. http://myserver/svn/project1 ) I am not asked for authentication
(as expected since I put the Satisfy Any in the http.conf). If I remove the
* = r and replace it with specific users/groups it asks for the auth.
However, when I add:
to the http.conf file so that I can go to http://myserver/svn and view a
list of all of the projects, it asks for authentication (even with * = r)
and then tells me Error 403 - permission denied.
If I comment out the
line with SVNListParentPath on I can then successfully view the list of all
projects at http://myserver/svn after passing the authentication request.
(but of course now lack any control at the repository level).
How can I get repository specific access control while allowing for a list
of all projects (even if only specific users.. or all users globally would
have to have access)?
Express yourself instantly with MSN Messenger! Download today - it's FREE!
To unsubscribe, e-mail: email@example.com
For additional commands, e-mail: firstname.lastname@example.org
Received on Tue Jan 24 03:47:52 2006