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

Re: Subversion in Linux

From: Les Mikesell <lesmikesell_at_gmail.com>
Date: Mon, 02 Feb 2009 14:17:04 -0600

Olivier Sannier wrote:
>>> Hi,
>>> thanks for your reply, i have another problem now when I try to checkout
>>> from svn repository
>>> svn co http://integ/myrep
>>> it says
>>> svn: Repository moved permanently to 'http://integ-build1/myrep/'; please
>>> relocate
> This is a "classical" issue when installing the repositories at the root
> of the server. My config is as follows:
> <VirtualHost>
> DocumentRoot /files/web/somewhere/else
> <Location />
> DAV svn
> SVN ParentPath /files/web/svn
> ...
> </Location>
> </VirtualHost>
> However, I have a doubt when I read your full message. The URL look like
> the problem I had, but the excerpt from your configuration looks
> different. Either it is not the right one, or your problem is not the
> one I had.

When an http request refers to a directory but doesn't include a
trailing slash, the web server sends a redirect that includes the slash
so that subsequent relative links can work. It looks like apache thinks
  that the server name is 'integ-build1' even though the client called
it 'integ'. Somewhere in httpd.conf there should be a setting for
'UseCanonicalName'. Set to 'on' it uses the server's notion of its own
name for the redirect. Set to 'off', it re-uses the name sent by the
client in the Host: header.

   Les Mikesell
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-02-02 21:17:56 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.