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

RE: Reverse Proxy issue ?

From: Rob van Oostrum <rob.vanoostrum_at_blastradius.com>
Date: 2004-08-12 20:22:46 CEST

check the 'reverse proxy to svn server HOWTO?' thread that's been going over the past few days (courtesy of yours truly)

basically, I found the proxy uri HAS to match the 'proxied' *URI EXACTLY* or it will not work.

> -----Original Message-----
> From: adeveloper.tigris [mailto:adeveloper.tigris@elitefrontier.com]
> Sent: Thursday, August 12, 2004 2:06 PM
> To: users@subversion.tigris.org
> Subject: Reverse Proxy issue ?
>
>
> I have a Slackware-current box which comes installed with
> Apache 1.3.31. I
> have installed Apache 2.0.50 (listening on port 8080) and
> Subversion 1.0.6 on
> the same box and I am trying to create a ReverseProxy from my
> Apache 1.3.31 to
> the Apache 2.0.50.
>
>
> I have added to my Apache 1.3.31 /etc/apache/httpd.conf file:
> ProxyRequest off
> ProxyPass /svn/ http://localhost:8080/
>
>
> and I have configured the following as part of the Apache
> 2.0.50 .conf file:
> <Location /public>
> Dav svn
> SVNParentPath /usr/local/svn/repository/public
> </Location>
>
>
> Now when I do:
> svn checkout http://localhost:8080/public/repos1/trunk
>
> then I am able to checkout the trunk with no problems.
>
>
> If I do:
> svn checkout http://mysite.com/svn/public/repos1/trunk
>
> then I get the following errors:
> svn: PROPFIND request failed on '/public/repos1/!svn/vcc/default'
> svn: '/public/repos1/!svn/vcc/default' path not found
>
>
> If I change the ProxyPass entry in my Apache 1.3.31
> /etc/apache/httpd.conf
> file to:
> ProxyPass / http://localhost:8080/
>
> and then I do:
> svn checkout http://mysite.com/public/repos1/trunk
>
> then I am able to successfully check out the trunk. But then
> that totally
> disables all my interactive web pages that I have setup on my
> Apache 1.3.31
> htdocs directory (this is not acceptable)
>
>
> This suggests to me that that '/svn/' is somehow getting stripped in
> subsequent http requests, either by the svn client or by the
> mod_proxy.
>
> Anyone have any ideas, comments, as to what is going on here?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 12 20:23:32 2004

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.