From owner-freebsd-questions@FreeBSD.ORG Mon Aug 13 17:21:33 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0DCDD16A418 for ; Mon, 13 Aug 2007 17:21:33 +0000 (UTC) (envelope-from david@atf4.com) Received: from dns1.vizion2000.net (77-99-36-42.cable.ubr04.chap.blueyonder.co.uk [77.99.36.42]) by mx1.freebsd.org (Postfix) with ESMTP id C439313C46C for ; Mon, 13 Aug 2007 17:21:32 +0000 (UTC) (envelope-from david@atf4.com) Received: by dns1.vizion2000.net (Postfix, from userid 1007) id 0661A1CC38; Mon, 13 Aug 2007 10:19:23 -0700 (PDT) From: gimp_user To: freebsd-questions@freebsd.org Date: Mon, 13 Aug 2007 10:19:22 -0700 User-Agent: KMail/1.9.7 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200708131019.22757.david@atf4.com> Subject: New to Subversion - Access denied issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Aug 2007 17:21:33 -0000 I have set up subversion to run with apache. Versions: apache-2.2.4_2 subversion-1.4.4_1 I can connect remotely to the server, using name|password combination appears to work fine. This is a new repository as can be seen from the output of the svnlook. An initial import attempt from the client fails with the client reporting" RA Layer request failed"and "403 forbidden" error from the server. Clearly I have something wrong in my set up. Can anyone point me in the right direction? I have chosen to use an SVNParentPath configuration for multiple repositories to exist under the same "root" with all repositories sharing the same AuthzSVNAccessFile. I have made all repository paths owner:group www:www I have made no changes to the files created by the svnadmin create command. 1. Here are my entries in hhtp.conf ##### Modules include LoadModule dav_module libexec/apache22/mod_dav.so LoadModule dav_svn_module libexec/apache22/mod_dav_svn.so LoadModule authz_svn_module libexec/apache22/mod_authz_svn.so ##### Location entry: DAV svn SVNParentPath /usr2/svnhome SVNListParentPath on # Access control Policy AuthzSVNAccessFile /usr/local/etc/apache22/Authz_svnhome # try anonymous access first, resort to authentication # if necessary Require valid-user AuthType Basic AuthName "Svn Repository" AuthUserFile /usr/local/etc/apache22/svn-auth-methusela_02 CustomLog /usr/local/etc/apache22/svn_logfile "%t %u %{SVN-ACTION}e" env=SVN-ACTION ##### 2. My AuthzSVNAccessFile ##### AuthzSVNAccessFile /usr/local/etc/apache22/Authz_svnhome [/] * = r [/usr2/svnhome] * =r [project_meth: /usr2/svnhome/project_meth] david = rw test = r ##### 3. Output from svnlook ##### svnlook info /usr2/svnhome/project_meth 2007-08-13 03:09:11 -0700 (Mon, 13 Aug 2007) 0 ##### 4. http-error.log ##### httpd-error.log [Mon Aug 13 09:30:04 2007] [error] [client 192.168.15.1] Access denied: 'david' MKACTIVITY project_meth: ##### 5. svn_logfile ##### [13/Aug/2007:08:49:56 -0700] david list-dir '/' [13/Aug/2007:08:51:47 -0700] david list-dir '/' ##### All help appreciated Thanks in advance david