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

Re: Subversion setup

From: Prabhu Gnana Sundar <prabhugs_at_collab.net>
Date: Wed, 19 Jan 2011 17:21:38 +0530

Hi Dave,

On Wednesday 19 January 2011 03:35 PM, Dave Pawson wrote:
> Still looking for the source of my 403 errors Steve?
> Any ideas please?
>>> I have no need for path based permissions? It is advised against in
>>> fact in the book?
I am sorry if I misunderstood. And may be you just followed the book
without reading the entire thing. The book clearly states as below:

<snip>

On the opposite end of the paranoia scale, you can configure your block
to demand authentication from everyone. All clients must supply
credentials to identify themselves. Your block unconditionally requires
authentication via the |Require valid-user| directive, and it defines a
means to authenticate. (See Example 6.2, “A sample configuration for
authenticated access”
<http://svnbook.red-bean.com/en/1.5/svn-book.html#svn.serverconfig.httpd.authz.perdir.ex-2>.)

*Example 6.2. A sample configuration for authenticated access*

<Location /repos>
   DAV svn
   SVNParentPath /var/svn

   # our access control policy
   AuthzSVNAccessFile /path/to/access/file

   # only authenticated users may access the repository
   Require valid-user

   # how to authenticate a user
   AuthType Basic
   AuthName "Subversion repository"
   AuthUserFile /path/to/users/file
</Location>

</snip>

So I guess my earlier suggestion should do the work for you. And I would be more than happy to hear from you :)

>> Hi Dave,
>>
>> you're correct. The path-based permission scheme is optional. Most
>> Subversion servers don't need it.
>>
>> Regards,
>> Steve
>>
I do agree that path-based permission scheme is optional. :)

Thanks and regards
Prabhu
Received on 2011-01-19 12:52:25 CET

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.