You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Tara L Andrews <tl...@mit.edu> on 2003/08/18 01:21:29 UTC

strange problem with svn server over http

Hi,

I am trying to set up a Subversion repository available locally and over
HTTP.  I installed the SuSE 8.2 RPMs (version 0.26), enabled mod_dav_svn
in my httpd.conf, and created a repository at /srv/svn/projects.

I set the permissions recursively on the directory as such:
drwxrwxr-x    6 wwwrun   svn           200 2003-08-17 19:15 /srv/svn/projects/

where wwwrun is the user Apache runs under, and svn is a group
containing only me.  I have set up HTTP basic auth, so that I need to
use a password to get write access to the repository.  The server seems
to be there, "svn list" works fine using both access methods, but when I
tried to import files over http I got the following error:

$ svn import mmslj http://localhost/svn/projects/mmslj
[...]
Authentication realm: <http://localhost:80> Subversion repository
tla's password:
Adding         mmslj/LICENSE
svn: Svndiff data ends unexpectedly
svn:
unexpected end of svndiff input

My Apache error log says the following:
[Sun Aug 17 18:59:07 2003] [error] [client ::1] dav_svn_close_stream: error closing write stream  [500, #185004]
[Sun Aug 17 18:59:07 2003] [error] [client ::1] unexpected end of svndiff input  [500, #185004]

Similarly, when I try over http to do a checkout, I get the following
error: 

$ svn co http://localhost/svn/projects/mmslj mmslj
svn: RA layer request failed
svn: REPORT request failed on '/svn/projects/!svn/vcc/default'
svn: REPORT of '/svn/projects/!svn/vcc/default': 400 Bad Request (http://localhost)

and the error log says the following:
[Sun Aug 17 19:26:04 2003] [error] [client ::1] The request body must specify a report.

Both of these operations work fine over local access.  What might be my
problem? 

-tara

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org