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

Re: Problems in setting up SVN with http

From: Ryan Schmidt <subversion-2008c_at_ryandesign.com>
Date: Fri, 11 Jul 2008 18:24:54 -0500

On Jul 11, 2008, at 17:34, Eli Hadad wrote:

> I am trying to setup SVN repository on my Fedora9 machine.
> Tried to find some answers to my problems using google with no
> success, I hope you could help me.
>
> I simply followed the instruction in the red book and other
> tutorials and have the following two problems.
>
> First in subversion.conf which is one of the httpd config files I
> have the following configuration:
>
> LoadModule dav_svn_module modules/mod_dav_svn.so
> LoadModule authz_svn_module modules/mod_authz_svn.so
>
> <Location /svn>
> DAV svn
> SVNParentPath /Store/SVN-REPOs/
> </Location>
>
> I created the directory /Store/SVN-REPOs
> Created a new repository under /Store/SVN-REPOs
>
> svnadmin create /Store/SVN-REPOs/myProject
>
> then I changed the permission of /Store/SVN-REPOs to apache
> I don't have SELinux configuration, so no need for additional
> permission changes.
>
> Trying to browse: http://home-linux/svn/ , I get error:
> You don't have permission to access /svn on this server.
>
> When trying to browse: http://home-linux/svn/myProject , I can see
> the empty repository I created.
> I am using SVNParentPath directive in the http configuration yet
> not being able to browse the parent directory.

That's normal. If you expected to see a list of repositories here,
you should add "SVNListParentPath on" to the apache configuration.

> Second I tried to import some code into the new repository I created.
> I used the following command:
>
> svn import myProject http://home-linux/svn/myProject/trunk -m
> "Initial import"
>
> And got the following error:
> svn: applying log message to /svn/myProject/!svn/wbl/
> 16d02436-25c9-49e8-a27a-47e1f7591491/0: 501 Method Not Implemented
> (http://home-linux)

In Subversion prior to 1.5 at least, you certainly needed to create
the intermediate directories first. So in your case, you need to "svn
mkdir" myProject before you can "svn import" to myProject/trunk.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-07-12 01:25:23 CEST

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.