You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Semburakkiannan, Raghunathan (IS Consultant)" <RS...@consultantemail.com> on 2009/10/16 19:48:17 UTC

SVN URL rewrite - issue

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-plug
in'; please relocate
 
Is there a way/better solution to solve this problem? Any pointers in
this regard is well appreciated.

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

RE: SVN URL rewrite - issue

Posted by Bob Archer <bo...@amsi.com>.
> 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.

Ok, I'm not an apache expert, but isn't it possible to just configure something like a virtual directory or virtual named host? They way you can still use port 80 just have a seperate path like:

http://myserver.com/svn

Or a different URL:

http://svn.myserver.com

Both of those would be mapped to mod_svn?

???

BOb

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

RE: SVN URL rewrite - issue

Posted by "Semburakkiannan, Raghunathan (IS Consultant)" <RS...@consultantemail.com>.
Hey guys,

Today I achieved this using apache server using proxy  concept.  

-Raghu

-----Original Message-----
From: Ryan Schmidt [mailto:subversion-2009b@ryandesign.com] 
Sent: Saturday, October 17, 2009 11:23 AM
To: Semburakkiannan, Raghunathan (IS Consultant)
Cc: users@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@subversion.tigris.org].

Re: SVN URL rewrite - issue

Posted by Ryan Schmidt <su...@ryandesign.com>.
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@subversion.tigris.org].

RE: SVN URL rewrite - issue

Posted by Bryant Eastham <be...@pewla.us.pewg.panasonic.com>.
[Apologies for top post]

 

Rather than get another box mixed in to the problem, why not just
configure a separate IP on the box you have? Assuming it is "very high
end" you probably have this capability. We do this for most of our
repositories (Linux-based).

 

This gives you the ability to associate a unique name (DNS/hostname)
with your repository, and port 80 will not be in use on your new IP.
This assumes, however, that the application currently using port 80
behaves nicely and doesn't require binding to all configured IP
addresses, and that your OS allows configuring multiple IPs on the same
NIC...

 

-Bryant

 

From: Semburakkiannan, Raghunathan (IS Consultant)
[mailto:RSemburakkiannan@consultantemail.com] 
Sent: Friday, October 16, 2009 1:48 PM
To: users@subversion.tigris.org
Subject: SVN URL rewrite - issue

 

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-plug
in'; please relocate

 

Is there a way/better solution to solve this problem? Any pointers in
this regard is well appreciated.

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].