RE: Re: FIXED IT (was: RE: RE: RE: reverse proxy to svn server HOWTO?)
From: Rob van Oostrum <rob.vanoostrum_at_blastradius.com>
Date: 2004-08-11 20:10:40 CEST
np ... here's the basic sequence of steps I think you need ...
1) The proxy server needs to be configured with DAV, or you'll get method not allowed errors. You don't need to turn on DAV or anything, you just need mod_dav loaded or built-in
ProxyPass /svn/project http://proxied.server/svn/project
In my case, these directives are inside a <VirtualHost> I setup for the purpose:
<VirtualHost 11.22.33.44:80>
pretty straight-forward so far ... the only quirk is this:
It seems you cannot change the uri structure ... so if your 'actual' SVN URL looks like this: http://proxied.server/svn/project ...
If you try to make your 'proxy' URL be http://proxy.server/project, it will not work (I get PROPFIND 405 errors, it seems the proxy works, but that somehow SVN doesn't like it, but now I'm speculating).
So ... if you want to proxy only some nested directory inside your repository (a specific branch for example), it looks like you'll have to include all its parent directories in the proxy URI as well (which is exactly what I've done in one particular case). Simply put ... with the exception of the part up to and including the hostname/port number portion of the URL, the proxy URL and the proxied URL have to be identical.
hope this is of some help
> -----Original Message-----
---------------------------------------------------------------------
|
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.