subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob van Oostrum <rva...@gmail.com>
Subject Re: read-only repository view
Date Tue, 23 Mar 2010 14:44:19 GMT
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@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
>
>

Mime
View raw message