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

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

From: Landry <landry_at_fr.homeunix.org>
Date: 2006-04-13 00:11:17 CEST

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 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.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Apr 13 22:37:55 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.