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

Re: SVN URL rewrite - issue

From: Ryan Schmidt <subversion-2009b_at_ryandesign.com>
Date: Sat, 17 Oct 2009 10:23:00 -0500

On Oct 16, 2009, at 14:48, Semburakkiannan, Raghunathan (IS
Consultant) wrote:

> I want to avoid a using port number along with svn URL(we have many
> applications, it is very tough to remember the port#) and checkout/
> check-in code. You guys may tell use port 80, so I don't have to
> specify the port. Real problem is some other application already
> running on port 80, so I can't change that. More over I want to use
> the same box(because this is very high end with high storage
> machine). What I did was installed apache http server in some other
> box with port# 80 and wrote URL rewriting.
>
> e.g: RewriteRule ^svn/wmc/([^\.]+)/?$ http://prod-weos-1:3?690/svn/wmc/$1
> [L]
>
>
> Now the problem is, when I checkout from command window I got the
> msg like 'Repository moved temporarily...".
>
> C:\test\wmc>svn co http://mdcdsk01sembu?r/svn/wmc/dev-suppor?t/crucible-accurev-s?cm-plugin/
> svn: Repository moved temporarily to 'http://prod-svn-1:36?90/svn/
> wmc/dev-suppo?rt/crucible-accurev-?scm-plugin'; please relocate
>
> Is there a way/better solution to solve this problem? Any pointers
> in this regard is well appreciated.

It looks like you're trying to host Subversion served through Apache
on port 3690. This is very confusing because 3690 is the port number
registered for use with the svnserve protocol. You should not do such
confusing things. :)

I second (or third) the recommendation the other respondents made:
create a second virtual host (either a named virtual host on the same
IP, or an IP-based virtual host on a new IP) and set up Apache on that.

Subversion does not support redirects, such as the one you're trying
to set up using RewriteRule. Sorry; that just won't work.

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-10-17 17:24:23 CEST

This is an archived mail posted to the Subversion Users mailing list.