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

Proxy authentication error when using svn status -u

From: Mark Henman <svnadmin_at_henmanfamily.com>
Date: 2007-06-22 18:31:14 CEST

I'm having a strange problem when using svn status -u. The svn
client sends what appears to be a proxy request to apache when
it sends a REPORT request.

$ svn status -u
svn: REPORT request failed on 'http://my.hostname.com/svn/library/trunk'
svn: REPORT of 'http://my.hostname.com/svn/library/trunk': 407 Proxy
Authentication Required (http://my.hostname.com)

When I look in my apache logs, I see this:

[22/Jun/2007:11:14:30 -0500] "PROPFIND /svn/library/trunk HTTP/1.1"
207 692 "-" "SVN/1.3.0 (r17949) neon/0.24.7"
[22/Jun/2007:11:14:31 -0500] "PROPFIND /svn/library/!svn/vcc/default
HTTP/1.1" 207 405 "-" "SVN/1.3.0 (r17949) neon/0.24.7"
[22/Jun/2007:11:14:31 -0500] "PROPFIND /svn/library/!svn/bln/10
HTTP/1.1" 207 458 "-" "SVN/1.3.0 (r17949) neon/0.24.7"
[22/Jun/2007:11:14:31 -0500] "PROPFIND /svn/library/!svn/bc/10/trunk
HTTP/1.1" 207 703 "-" "SVN/1.3.0 (r17949) neon/0.24.7"
[22/Jun/2007:11:14:31 -0500] "REPORT
http://my.hostname.com/svn/library/trunk HTTP/1.1" 407 1316 "-"
"SVN/1.3.0 (r17949) neon/0.24.7"

All the PROPFIND requests look fine, but the REPORT request
includes the protocol and hostname in the request instead of
specifying those in the Host header of the http request.
Since the "http://my.hostname.com" is present in the request
line, apache is rejecting this as a proxy request. I've tried
this against my server using 3 different boxes and versions
1.3.0, 1.4.2 and 1.4.4 of the svn client. (server is using
svn 1.4.3) Those same clients seem to work OK with other
servers, so I'm thinking that this must be a server
configuration issue.

Here is the subversion configuration section of httpd.conf:

     LoadModule dav_svn_module /usr/lib/apache2/mod_dav_svn.so
     LoadModule authz_svn_module /usr/lib/apache2/mod_authz_svn.so

     <Location /svn/library>
         DAV svn
         SVNPath "/usr/local/repository/library"

         AuthType Basic
         AuthName "ResourceLibrary Subversion Repository"
         AuthUserFile / [path removed] /htpasswd
             Require valid-user

Anyone seen this before? Or can someone help me figure out
where to look next?


This message was sent using IMP, the Internet Messaging Program.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jun 22 18:31:37 2007

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.