[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: John E. Fritz <jfritz_at_ihomefinder.com>
Date: 2004-07-28 00:49:02 CEST

>> 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.

Thanks for your quick reply.

Yes, I actually did create a repository called trunk within the test_svn
directory. I suppose the idea was to have a trunk repository, then branches
and tags folders containing other named copies. Despite the dumb way of
arranging these test folders, shouldn't my copy statement work?

John

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

---------------------------------------------------------------------
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:50:02 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.