Today I achieved this using apache server using proxy concept.
From: Ryan Schmidt [mailto:subversion-2009b_at_ryandesign.com]
Sent: Saturday, October 17, 2009 11:23 AM
To: Semburakkiannan, Raghunathan (IS Consultant)
Subject: Re: SVN URL rewrite - issue
On Oct 16, 2009, at 14:48, Semburakkiannan, Raghunathan (IS
> 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/([^\.]+)/?$
> Now the problem is, when I checkout from command window I got the msg
> like 'Repository moved temporarily...".
> C:\test\wmc>svn co
> 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.
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-10-20 21:08:50 CEST