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

Re: authz access file problem

From: Hiroharu Tamaru <tamaru_at_myn.rcast.u-tokyo.ac.jp>
Date: 2004-11-08 06:21:19 CET

At Sun, 7 Nov 2004 10:18:18 +0100, Sören Kuklau wrote:
> ###
> <Location /svn>
> DAV svn
>
> SVNParentPath /svn
> </Location>
>
> <Location /svn/alurio>
> AuthType Basic
> AuthName "Alurio SVN Team Access"
> AuthUserFile /svn/alurio/passwd
>
> AuthzSVNAccessFile /svn/alurio/access
>
> Satisfy Any
> Require valid-user
> </Location>
> ###

> ==> /var/log/apache2/error.log <==
> [Sun Nov 07 08:48:38 2004] [error] [client 217.225.143.73] The URI does
> not contain the name of a repository. [403, #190001]
> ###

I'm no expert at this, but I assmue you should follow the book and
point your AuthzAuthAccess file to your repository root, like this:

<Location /svn>
          DAV svn
 
          SVNParentPath /svn
          AuthType Basic
          AuthName "Alurio SVN Team Access"
          AuthUserFile /svn/alurio/passwd
 
          AuthzSVNAccessFile /svn/alurio/access
 
          Satisfy Any
          Require valid-user
</Location>

and have your /svn/alurio/access file like:

[groups]
all = list, your, members, here
###
[/]
* = rw
###
[/alurio]
@all = rw

But then, you might be caught by a phenomena like this:
...oops, I found such mail from the archives yesterday, but I can't
find it again now.

 But it said that if you have an anonymous root, AND checkout your
repository from your root, your non-anonymous directories will not be
recursed into, and silently ignored. This is due to the fact that
checkouts can only fetch your credentials once at the beginning, and
at that time (root of the repository), you don't need any usernames or
passwords (because anonymous access is granted), and thus the whole
checkout is performed as an anonymous user.

hope it helps

-- 
Hiroharu Tamaru
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Nov 8 06:21:39 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.