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

RE: Unable to open root of edit

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-01-16 22:50:24 CET

On Fri, 2004-01-16 at 12:25, Gonia Eric - egonia wrote:
> Where would I find this directory: "on the root directory of the update"
>
> Would this problem not show up in the web browser. I require authentication
> for read access to the repository also.
>
> I'm not specifying to load mod_authz_svn.
> Attached is my subversion.conf file from httpd.

Yup, it's a problem with your <Location> block. You're using the
LimitExcept option on only 3 of the 4 'read' methods:

 <LimitExcept PROPFIND OPTIONS REPORT>
      [...]
      Require valid-user
 </LimitExcept>

You forgot to put 'GET' in there. In other words, clients can do
REPORTS and PROPFINDs and OPTIONS requests without any authentication,
but a simple GET requires authentication.

The authorization system happening with mod_dav_svn is simply checking
whether you have "read" access or not -- it *assuming* that GET is a
read action (it tries to do a dry-run GET under the hood to test). But
you've managed to leave GET out of the set of read-actions by accident.

Anyway, put the GET back in, and you should be fine.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jan 16 22:51:08 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.