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

Re: copy failed using dav_svn

From: Erik Huelsmann <e.huelsmann_at_gmx.net>
Date: 2004-12-28 17:18:11 CET

> Hi there. Thanks for the response.
>
> I see your point. I don't think the FAQ entry applies
> as my DocumentRoot is in /var/www and my Location is
> /svn.

You're mixing up 2 different concepts:

 - The webspace served by your webserver which uses paths starting with /
 - The local filesystem space from which the files in your webspace are read

The document root shows up as '/' in your webspace. Its argument is the
location on your local filesystem from which those files should be read.

> I don't see how they could conflict, unless my
> DocumentRoot is being set to / somewhere else. Perhaps
> this would make sense as the Moved error refers to the
> root of my server. But how can my DocumentRoot be set
> except with a DocumentRoot statement?

From the text below, I understood that your DocumentRoot points to /var/www.
Above, you write your Location SVNPath directive points to /usr/local/svn.
This means that your repository is not located within your document root and
the FAQ item does not apply.

There could be a Rewrite Rule though, which makes your webserver serve up a
301 in response to a specific request...

bye,

Erik.

> Josh.
> --- Erik Huelsmann <e.huelsmann@gmx.net> wrote:
>
> > Hi!
> >
> > > More information: I CAN perform an:
> > > svn co http://server/svn/proj/trunk
> > > successfully. It's only the copy that gives me
> > > problems. Thus I don't think that
> > >
> >
> http://subversion.tigris.org/project_faq.html#301-error
> > > applies from the FAQ.
> >
> > You ruled out the FAQ item, because it's not in your
> > document root, or you
> > think having it in the doc-root isn't causing you
> > problems, since you can
> > checkout correctly?
> >
> > In case of the latter, I'd advise you to try the FAQ
> > item first and move the
> > repository out of the docroot and see if it helps.
> >
> > Bye,
> >
> >
> > Erik.
> >
> > > Josh.
> > > --- usr bin <jgilbert_dhmc@yahoo.com> wrote:
> > >
> > > > I'm trying to create a branch. I'm using Apache2
> > to
> > > > access the repository. Everything is running on
> > > > Linux.
> > > >
> > > >
> > > > In httpd.conf:
> > > > <Location /svn>
> > > > DAV svn
> > > > SVNParentPath /usr/local/svn
> > > > </Location>
> > > >
> > > > I specify a ServerName in httpd.conf. It's the
> > name
> > > > I
> > > > use in DNS.
> > > >
> > > > Given this setup, I try to execute:
> > > > $ svn copy http://server/svn/proj/trunk
> > > > http://server/svn/proj/branches/newBranch
> > > > svn: PROPFIND request failed on '/svn/proj'
> > > > svn: PROPFIND of '/svn/proj': 301 Moved
> > Permanently
> > > > (http://server)
> > > >
> > > > So it doesn't work. Does anyone know why or have
> > any
> > > > suggestions?

-- 
+++ Sparen Sie mit GMX DSL +++ http://www.gmx.net/de/go/dsl
AKTION für Wechsler: DSL-Tarife ab 3,99 EUR/Monat + Startguthaben
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Dec 28 17:20:34 2004

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.