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

Re: redirection

From: Christophe Labouisse <gabuzo_at_tigris.org>
Date: 2003-10-03 20:15:30 CEST

On Fri, 3 Oct 2003 10:31:41 -0400
wheelerj@lexmark.com wrote:

> A reverse proxy seems to be working.

Are you sure ? I try to configure a reverse proxy with the following
directives:

<Location /gruik>
        ProxyPass http://gabuzo/svn/testrepos
        ProxyPassReverse http://gabuzo/svn/testrepos
</Location>
 
It works fine from a browser and from svn a "ls" or a "cat" works also
fine.

However when I try to do a check out I get the following output:

$ svn co http://localhost/gruik/trunk/html/coloriages
svn: Apache got a malformed URI
svn: REPORT request failed on '/svn/testrepos/!svn/vcc/default'
svn:
The specified URI does not refer to this repository, so it is unusable.

I'm not a WebDAV expert but a little tcpdump session clearly shows the
problem. To the initial PROPFIND request issued by the svn client, the
svn server replies with an xml document containing among others:

<lp1:version-controlled-configuration><D:href>/svn/testrepos/!svn/vcc/d
efault</D:href></lp1:version-controlled-configuration>

The server is replying with a real URI rather than a proxified one. This
seems normal to me as the svn server has no way to know that he is
talking to a proxy rather than a real client (well there are the
X-Forwarded* headers but they do not give enough information anyway) ;
the Apache proxy module do not rewrite anything except some headers.

-- 
Le cinéma en Lumière : http://www.lumiere.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Oct 3 20:18:04 2003

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.