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

Re: Redirecting an SVN site

From: Ryan Schmidt <subversion-2009a_at_ryandesign.com>
Date: Wed, 14 Jan 2009 17:02:04 -0600

On Jan 14, 2009, at 11:08, Oliver Marshall wrote:

> Whats the best (right) way to redirect an SVN site from one box to
> another?
>
> We’ve moved most of our svn sites on to a new box. For various
> reasons I cant just repoint the DNS to the new box so we’ve setup a
> new dns record for the new box. While we’ve told people that they
> can now find certain projects on the new box, we want to redirect
> them to the new box if they go to the old SVN server.
>
> Whatever way we choose has to be workable with both a browser (when
> just going to https://svn.mydomain.com/svn/id) or when working with
> tortoise.
>
> I don’t know if it helps or not but all our svn entries with their
> authentication are all setup in the dav_svn.conf file in mods-enabled.
>
> I’ve tried a bog standard
>
> Redirect /svn/id https://new-svn.mydomain.com/svn/id
>
> But that doesn’t work in either browser or tortoise.
>
> Any suggestions ?

When I last tried, I was not able to make this work at all. You may
have to settle for telling people the new URL, and perhaps setting up
a custom error handler at the old URL printing a status message like
"404: Not found, moved to new://url"

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1025034

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-01-16 17:26:54 CET

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.