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

Re: Remote svn commits through webdav fails with "CHECKOUT response did not contain a 'Location:' header" error

From: Timo Wendt <twendt_at_online.de>
Date: 2006-04-13 20:44:17 CEST

What is your error and access log saying about this? It might have to
do with the LimitExcept directive. Try to remove it or try this one:

<LimitExcept GET POST PUT MERGE DELETE PROPPATCH PROPFIND REPORT
OPTIONS MKACTIVITY CHECKOUT>

A commit needs more than what you have put in there. I had similar
problems and the above solved it for me.

Gruß,

Timo Wendt

ACHTUNG: Meine Email-Adresse hat sich von Timo@Schnibbe.net in
Timo@TJWendt.de geändert.

Am 13.04.2006 um 19:16 schrieb Landry:

> Hello all !
>
> I've set up a subversion server through webdav/apache on my server,
> and i have problems commiting files from a remote host.
>
> Local dir creations and commits through svn ci/mkdir file:///home/
> svn works fine.
>
> Remote checkout through svn co http://server/svn works too (as list/
> info commands), and i can browse my repository with firefox.
>
> I tried with and without authentification, the error is the same:
>
> svn ci index.php -m "table"
> Domaine d'authentification : <http://server:80> Subversion Repository
> Mot de passe pour 'landry' :
> svn: Échec de la propagation (commit), détails :
> svn: The CHECKOUT response did not contain a 'Location:' header
>
> The error message is kinda weird, as normal remote checkout works.
> It doesn't seem to be an authorization/credentials problem.
> I Googl'ed it, and only found a file in subversion's source:
> http://subversion.tigris.org/nonav/source/browse/~checkout~/
> subversion/subversion/libsvn_ra_dav/commit.c?only_with_tag=milestone-1
>
> Telnetting my server, trying various WebDAV commands, reading the
> FAQ and troubleshooting section of svnbook didn't helped me more.
>
> My setup:
>
> Apache2 httpd.conf:
> ...
> LoadModule dav_module modules/mod_dav.so
> LoadModule dav_fs_module modules/mod_dav_fs.so
>
> LoadModule dav_svn_module modules/mod_dav_svn.so
> LoadModule authz_svn_module modules/mod_authz_svn.so
>
> <Location /svn>
> DAV svn
> SVNPath /home/svn
>
> <LimitExcept GET PROPFIND OPTIONS REPORT>
>
> AuthType Basic
> AuthName "Subversion Repository"
> AuthUserFile /etc/svn-auth-file
> Require valid-user
> </LimitExcept>
> </Location>
>
> ( My full httpd.conf is here: http://fr.homeunix.org/stuff/
> httpd.conf )
>
> My repository was created in /home/svn with svnadmin create. I did
> chown -R www:www /home/svn, where www is my user running apache.
>
> The file /etc/svn-auth-file was created with htpasswd -cm /etc/svn-
> auth-file landry.
>
> I don't run any proxy/firewall between the host and the server.
>
> Server version: Apache/2.0.52 (CentOS 4.2)
> Subversion and mod_dav_svn 1.1.4 (CentOS 4.2)
>
> Thanks for any help and suggestion. I can provide more details/
> debug info if needed.
>
>
> Landry.
>
> Ps: i posted this mail yesterday, but didn't find it in the
> archives... sorry if it is a repost. Didn't received an ack nor
> reject from ezmlm.
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
Received on Thu Apr 13 20:47:24 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.