[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: Semburakkiannan, Raghunathan (IS Consultant) <RSemburakkiannan_at_consultantemail.com>
Date: Tue, 20 Oct 2009 15:06:00 -0400

Hey guys,

Today I achieved this using apache server using proxy concept.

-Raghu

-----Original Message-----
From: Ryan Schmidt [mailto:subversion-2009b_at_ryandesign.com]
Sent: Saturday, October 17, 2009 11:23 AM
To: Semburakkiannan, Raghunathan (IS Consultant)
Cc: users_at_subversion.tigris.org
Subject: Re: SVN URL rewrite - issue

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-plug
> in/
> 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=2409506

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-10-20 21:08:50 CEST

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