[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: SVNListParentPath and AuthzSVNAccessFile

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-01-24 22:03:47 CET

Shawn Nicholson wrote:

> <Location /svn>
> DAV svn
> #SVNListParentPath on
> SVNParentPath E:/projects/svn
>
> # our access control policy
> AuthzSVNAccessFile E:/projects/svn-access-file
>
> # try anonymous access first, resort to real
> # authentication if necessary.
> Satisfy Any
> Require valid-user
>
> # How to authorize a user
> AuthType Basic
> AuthName "Subversion repositories"
> AuthUserFile E:/projects/svn-auth-file
> </Location>
>
>
> 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:
>
> SVNListParentPath on
>
> 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.

Sure!
http://myserver/svn isn't controlled by mod_authz_svn and your
svn-access file but by apache directly. That's because that location
isn't inside a repository.

You have to give read access in your apache conf file for that location
to all your users too. See our docs for an example (or the subversion
book has an example too on how to restrict write access but allow read
access, by using the commands Subversion sends to apache).

If that doesn't work, you should ask on the Subversion mailing list:
this is a server setup issue, not a TSVN one.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Tue Jan 24 22:10:18 2006

This is an archived mail posted to the TortoiseSVN Users mailing list.