You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Guillaume Alleon <gu...@laposte.net> on 2006/06/09 05:37:31 UTC
SVN http server + Auth configuration
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.
Thanks for your help
Guillaume
--
Guillaume ALLEON
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: SVN http server + Auth configuration
Posted by Olivier Delannoy <ol...@gmail.com>.
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 <ro...@electricjellyfish.net> wrote:
> On 6/9/06, Guillaume Alleon <gu...@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
Re: SVN http server + Auth configuration
Posted by Garrett Rooney <ro...@electricjellyfish.net>.
On 6/9/06, Guillaume Alleon <gu...@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