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

re: 403 Forbidden

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-07-28 00:35:24 CEST

On Tue, 2004-07-27 at 17:29, John E. Fritz wrote:
> Hello,
> I'm a newbie to Subversion, so forgive me if my question is obvious. I've
> spent a few hours looking at the list archives, though, and I still can't
> figure this out. Basically, I can create a repository, checkout a local
> copy, commit, etc - everything except creating a branch from a local copy.
> My setup is as follows:
> Version: svn-1.0.6 for Win32 running on Apache 2.0 / Windows 2000 Server
> Apache is running under user account "Apache" and this account has
> read/write permissions to the repository directory.
> The modules mod_dav and mod_dav_svn are loaded and seem to be working.
> The following location tag is in the httpd.config:
> <Location /svn/test_svn>
> DAV svn
> SVNParentPath c:\SVN_REPOS\test_svn
> AuthType Basic
> AuthName "Subversion repositories"
> AuthUserFile passwd
> Require valid-user
> </Location>
> When I try to create a branch typing the following at the command prompt:
> c:\Inetpub\wwwroot>svn copy http://localhost:81/svn/test_svn/trunk
> http://localhost:81/svn/test_svn/branches/test_branch1

You're using SVNParentPath, which means that apache expects
C:\SVN_REPOS\test_svn to be a directory which *contains* a whole bunch
repositories. So your 'svn copy' command makes no sense, unless you
happened to 'svnadmin create' a repository called 'trunk' within the
'test_svn' directory. I'm sure you didn't do that, though. :-)

Assuming that you did an 'svnadmin create c:\SVN_REPOS\test_svn', then
'test_svn' is a lone repository... so you want to use the SVNPath
directive, not SVNParentPath.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jul 28 00:37:40 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.