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

Re: read-only repository view

From: Eric Dalquist <eric.dalquist_at_doit.wisc.edu>
Date: Tue, 23 Mar 2010 10:42:11 -0500

Thanks for the tip. I switched to this approach which gives us the 401
we want.

On 03/23/2010 09:44 AM, Rob van Oostrum wrote:
> My guess is it doesn't like that you have the Require without
> Authentication configured. The way I usually do this is have the
> anonymous read / authenticated & authorized write construct (see
> manual), and give the HTTP host its own access file where you set * =
> r for [/], so authorization for write access will always fail.
>
> R.
>
> On Tue, Mar 23, 2010 at 3:39 PM, Eric Dalquist
> <eric.dalquist_at_doit.wisc.edu <mailto:eric.dalquist_at_doit.wisc.edu>> wrote:
>
> We would like to have a version of our SVN repository available
> read-only over HTTP.
>
> I currently have it setup using:
> <Location /svn>
> DAV svn
> SVNPath /jasig/svn/jasig
>
> <LimitExcept GET PROPFIND OPTIONS REPORT>
> Require valid-user
> </LimitExcept>
> </Location>
>
>
> Which works but I get 500 errors instead of a 401 or 403 like I'd
> expect:
>
> commit -m "NOJIRA test"
> /home/edalquist/JavaClasses/workspace/PersonDirectory_trunk_RO/README.txt
> RA layer request failed
> svn: Commit failed (details follow):
> svn: Server sent unexpected return value (500 Internal Server
> Error) in response to MKACTIVITY request for
> '/svn/!svn/act/2348c9db-53b5-4d4b-852a-8cb5d0c4c071'
>
>
> Is there a better way to have a read-only view of a repository?
>
> -Eric
>
>

Received on 2010-03-23 16:42:40 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.