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

repository can be browsed remotely but can't be checked out, 400 bad request

From: HEMAN <hemanman_at_gmail.com>
Date: Tue, 6 Jan 2009 20:21:40 +0800

Hello, please help me see what might be the reason that
caused this 400 error!

  I've just configured an Apache-Subversion server, and created
a repository under the directory /var/www/svn/repos/.

  Problem is that I can browse the repository files using Firefox,
like:

  http://192.168.1.133:8080/repos/

  but can't checkout (or import) files from the repository using
subclipse (using file:// URL is OK), Eclipse console replied:

    RA layer request failed
svn: Server sent unexpected return value (400 Bad Request) in
response to PROPFIND request for '/repos/!svn/vcc/default'

    Authorization failed
svn: OPTIONS of 'http://192.168.1.108:8080/repos':
authorization failed (http://192.168.1.108:8080)

  Configuration are:
  subversion-1.4.4-7
  httpd-2.2.6-3(Fedora 8) with loaded modules including
mod_dav, mod_dav_svn
  access to /var/www/svn/repos/ is apache:apache,
755(for /var/www/svn/, it's root:root)
  server authentication is based on htpasswd, users are
successfully authenticated because no 'invalid user' hints,
  firewall and selinux disabled during testing
  also no proxy setup for server

  SVN apache directives:
<Location /repos>
    DAV svn
    SVNPath /var/www/svn/repos/
    AuthType Basic
    AuthName "SVN Repository"
    AuthUserFile /var/www/svn/repos/conf/htpasswd
    Required valid-user
</Location>

    I guess it's the apache configuration, but I've setup the
same way once before, and I think browsing OK means
checking out OK. Thanks in advance!
Received on 2009-01-06 14:24:28 CET

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.