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

Re: Protocol proxy?

From: Dominic Anello <danello_at_danky.com>
Date: 2005-01-06 00:56:42 CET

On 2005-01-05 16:43:58 -0600, Monks, Peter wrote:
----8<----
> Is such a thing possible? If so, does anyone know where I might find
> such a beast?

I don't know of anything for the svn:// protocol, but Apache's ProxyPass
directive should work for https and http.

You would put the something like the following in the proxy server's
httpd.conf file:

LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
#...
ProxyRequests off
ProxyPass /repos http://internal-server/repos
ProxyPassReverse /repos http://internal-server/repos

I just tested this by proxying our in-house repo through my
workstation's instance of apache and it looks like it works for ls, co,
and log. The upside of this method is that you wouldn't even need to
have SVN installed on the proxy machine. There's also no reason why
your internal machine can't serve the same repo with both protocols,
even if the proxy is the only client that uses the http:// protocol.

-Dominic

  • application/pgp-signature attachment: stored
Received on Thu Jan 6 00:57:07 2005

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.