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

Re: SVN http server + Auth configuration

From: Olivier Delannoy <olivier.delannoy_at_gmail.com>
Date: 2006-06-09 15:40:21 CEST

I am using such configuration on my server. It does not allow
anonymous access however.
This can be solved easly by adding an anon user.

<Location /svn>
      DAV svn
      SVNPath /home/svn/root
      AuthzSVNAccessFile /etc/httpd/svn.access.conf
      #Satisfy Any
      Require valid-user
       AuthType Basic
       AuthName "Subversion repository"
       AuthUserFile /etc/httpd/htpassword.svn
</Location>

I hope it helps.

On 6/9/06, Garrett Rooney <rooneg@electricjellyfish.net> wrote:
> On 6/9/06, Guillaume Alleon <guillaume.alleon@laposte.net> wrote:
> > Hi,
> >
> > I have a problem I don't understand. I tried to configure a SVN
> > repository using an httpd server with access control as stated
> > in the svnbook. My Location block is looking like this:
> >
> > Alias /incertitude/ /opt/svn/incertitude/
> >
> > <Location /incertitude>
> > DAV svn
> > SVNPath /opt/svn/incertitude
> >
> > AuthType Basic
> > AuthName "Incertitude Subversion Repository"
> > AuthUserFile /etc/svn-auth-file
> >
> > <LimitExcept GET PROPFIND OPTIONS REPORT>
> > Require valid-user
> > </LimitExcept>
> > </Location>
> >
> > Nevertheless trying to commit I get this error
> >
> > $ svn --username alleon ci AUTHORS -m "test SVN repository"
> > svn: Commit failed (details follow):
> > svn: OPTIONS request failed on '/incertitude/trunk'
> > svn: OPTIONS of '/incertitude/trunk': Could not read response body:
> > connection was closed by server. (http://xxx.yyy.zzz)
> >
> > while OPTIONS is in my except tag.
>
> You might want to look in the serer error log, to see what's going on
> there. An inability to read a response from the server often means a
> httpd child process has crashed or something like that.
>
> -garrett
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jun 9 15:44:41 2006

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.