I believe you should be able to set something up using mod_rewrite. If a regular redirect won't work, you can always combine mod_rewrite with mod_proxy. You should be able to match against the method and redirect or proxy accordingly to the master server.
Sent wirelessly via BlackBerry from T-Mobile.
From: "Garrett Rooney" <email@example.com>
Date: Mon, 10 Apr 2006 16:38:27
Cc:"Ryan Schmidt" <subversion-2006Q1@ryandesign.com>
Re: Multiple read-only svn servers, one read/write master: redirection on writes?
On 4/8/06, Axel Thimm <Axel.Thimm@atrpms.net> wrote:
> On Sat, Apr 08, 2006 at 01:41:37PM +0200, Ryan Schmidt wrote:
> > On Apr 8, 2006, at 11:56, Axel Thimm wrote:
> > >is it possible to have an svn server redirect write requests to
> > >another server? The idea is to have 1 master server and N-1 read-only
> > >slaves all in a DNS round robin setup. When a read-only slave gets a
> > >write request it should redirect it to the master.
> > >
> > >Is this possible? If yes, how?
> > I don't think Subversion's designed for that kind of thing right now.
> > Perhaps SVK has what you want:
> > http://svk.elixus.org/
> I'm not looking for switching to a decentralized source control
> system, I want svn in a transparently redundant setup (at least what
> the read-only operations are involved). E.g. having the read-only
> slaves redirect DAV write operations like MKACTIVITY, PROPPATCH,
> DELETE, COPY, MERGE internally or externally to the master svn repo.
There was some work in this area in the past (there's actually an
experimental branch with support for some of this in the svn repos),
but it was never completed, so at this point you're kind of out of
luck. What's there could certainly be finished, but it's rather out
of date at this point.
To unsubscribe, e-mail: firstname.lastname@example.org
For additional commands, e-mail: email@example.com
Received on Tue Apr 11 02:08:28 2006