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

Re: apache / subversion / access doesn't follow documented rules?

From: David Anderson <david.anderson_at_calixo.net>
Date: 2005-07-23 14:31:35 CEST

Thomas Beale wrote:
> This kind of combination of repositories cannot be that strange - does
> anyone else have a solution?

A combination of SVNParentPath and an authz access control file should
work. However, I notice you never use the "Satisfy any" directive, which
indicates to apache to try anonymous access first, and then fallback to
authenticated access if required. Perhaps this could be the source of
your problems?

Here is the Location block for my server configuration, which works fine
in the scenario you describe (with the ad-hoc authz file, which you seem
to have):

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

   # Access control policy
   AuthzSVNAccessFile /var/svn/svn.acl

   # Anonymous access first, auth if necessary
   Satisfy any
   Require valid-user

   # Authentication mechanism
   AuthType Basic
   AuthName "Natulte subversion repositories"
   AuthUserFile /var/svn/svn.auth
</Location>

Hope that helps,
- Dave.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Jul 23 14:33:12 2005

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