2009/1/14 Oliver Marshall <oliver.marshall_at_g2support.com>:
> Hi,
>
> 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 ?
>
AFAIK (it was mentioned once), client-side redirects do not work with
Tortoise and other svn clients.
I see two options:
a) set up a proxy (haven't tried myself)
b) teach your users how to use
svn switch --relocate
or the Relocate... command in TortoiseSVN menu
http://svnbook.red-bean.com/en/1.5/svn.ref.svn.c.switch.html
http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-relocate.html
Best regards,
Konstantin Kolinko
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1028064
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-01-16 08:03:41 CET