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

Re: svn: PROPFIND of '/svn': 403 Forbidden

From: Ryan Schmidt <subversion-2006c_at_ryandesign.com>
Date: 2006-08-14 14:05:07 CEST

On Aug 14, 2006, at 07:23, developer@wexwarez.com wrote:

> I created a repository in /var/www/svn.

[snip]

> i keep getting these errors when i try to
> import a test project like so:
>
> $ svn import test http://xx.xx.xx.xx/svn -m "test initial import"
> svn: PROPFIND request failed on '/svn'
> svn: PROPFIND of '/svn': 403 Forbidden (http://xx.xx.xx.xx)
>
> I tried this with ssl, without ssl, with authentication and
> without. I
> currently have no authentication set up and got the error above. I am
> configured like so:
>
> <Location /svn>
> DAV svn
> SVNParentPath /var/www/svn
> </Location>
>
> When i tried to import locally it seemed to work.
> # svn import project file:///var/www/svn -m "prj initial import"
> Adding project/trunk
> Adding project/trunk/file.java
> Adding project/branches
> Adding project/tags
> Adding project/tags/release1
> Adding project/tags/release1/file.java

[snip]

If you have a single repository (as in, you used "svnadmin create /
var/www/svn" to create it) then you should use SVNPath, not
SVNParentPath in the Apache directives.

<Location /svn>
    DAV svn
    SVNPath /var/www/svn
</Location>

-*-

SVNParentPath is for when you have several repositories all within
the same directory on the server, as in:

mkdir /var/www/svn
svnadmin create /var/www/svn/repo1
svnadmin create /var/www/svn/repo2
svnadmin create /var/www/svn/repo3

And then you would need to specify the repository name in the URL, e.g.

svn import test http://xx.xx.xx.xx/svn/repo2 -m "test initial import"

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Aug 14 14:06:25 2006

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.