You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by usr bin <jg...@yahoo.com> on 2004/12/27 21:04:09 UTC

copy failed using dav_svn

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?

Thanks,
Joshua C. Gilbert


		
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 
http://my.yahoo.com 
 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: copy failed using dav_svn

Posted by Erik Huelsmann <e....@gmx.net>.
> 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?

Re: copy failed using dav_svn

Posted by Joshua Gilbert <jg...@yahoo.com>.
Hello again. 

Replying to myself to provide more info.

In my httpd.conf I do have a
<Directory />
    Options FollowSymLinks
    AllowOverride None
</Directory>
statement. Could this interfer with my Location
statemnt?

Joshua Gilbert.
--- Joshua Gilbert <jg...@yahoo.com> wrote:

> 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. 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?
> 
> Josh.
> --- Erik Huelsmann <e....@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 <jg...@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
> > 
> > 
> 
> 
> 
> 		
> __________________________________ 
> Do you Yahoo!? 
> Yahoo! Mail - Easier than ever with enhanced search.
> Learn more.
> http://info.mail.yahoo.com/mail_250
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail:
> users-help@subversion.tigris.org
> 
> 



		
__________________________________ 
Do you Yahoo!? 
Jazz up your holiday email with celebrity designs. Learn more. 
http://celebrity.mail.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: copy failed using dav_svn

Posted by Joshua Gilbert <jg...@yahoo.com>.
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. 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?

Josh.
--- Erik Huelsmann <e....@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 <jg...@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
> 
> 



		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: copy failed using dav_svn

Posted by Erik Huelsmann <e....@gmx.net>.
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 <jg...@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

Re: copy failed using dav_svn

Posted by usr bin <jg...@yahoo.com>.
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.

Josh.
--- usr bin <jg...@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?
> 
> Thanks,
> Joshua C. Gilbert
> 
> 
> 		
> __________________________________ 
> Do you Yahoo!? 
> The all-new My Yahoo! - Get yours free! 
> http://my.yahoo.com 
>  
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail:
> users-help@subversion.tigris.org
> 
> 



		
__________________________________ 
Do you Yahoo!? 
All your favorites on one personal page � Try My Yahoo!
http://my.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org