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

Re: 403 with svn+apache on fedora core 10

From: Ryan Schmidt <subversion-2009a_at_ryandesign.com>
Date: Sat, 10 Jan 2009 18:37:00 -0600

On Jan 10, 2009, at 15:07, Eben wrote:

> The problem: svn co http://localhost/svn reports:
> svn: PROPFIND request failed on '/svn'
> svn: PROPFIND of '/svn': 403 Forbidden (http://localhost)
>
> Apache's error log shows:
> [Sat Jan 10 07:31:45 2009] [error] [client 192.168.1.10] Could not
> fetch
> resource information. [403, #0]
> [Sat Jan 10 07:31:45 2009] [error] [client 192.168.1.10] (2)No such
> file
> or directory: The URI does not contain the name of a repository. [403,
> #190001]
>
> I've installed the base FC10 desktop, and all packages using yum.
> Apache
> 2.2.10, svn 1.5.4. Firewall and SELinux are completely disabled. I am
> not running mod_security, nor mod_evasive.
>
> Following the various tutorials that are out there I did the
> following:
>
> 1. I created a repository at /home/svn using svnadmin (svnadmin create
> /home/svn),
> 2. Imported some default folders (svn import /tmp/newsvn
> file:///home/svn -m “initial import”).
> 3. I then set permissions: chown -R apache.apache /home/svn
> 4. Created htpasswd file in /etc/httpd/passwd with a valid user and
> password, verified that everything was generated as expected.
> 5. Modified subversion.conf as follows:
> /etc/httpd/conf.d/subversion.conf:
> LoadModule dav_svn_module modules/mod_dav_svn.so
> LoadModule authz_svn_module modules/mod_authz_svn.so
>
> <Location /svn>
> DAV svn
> SVNParentPath /home/svn

You want SVNPath, not SVNParentPath. SVNPath is for when you have a
single repository that was created with "svnadmin create".
SVNParentPath is for when you have a directory which contains
multiple repositories, each of which was created with "svnadmin create".

> #
> # # Limit write permission to list of valid users.
> <LimitExcept GET PROPFIND OPTIONS REPORT>
> # Require SSL connection for password protection.
> # SSLRequireSSL
> #
> AuthType Basic
> AuthName "SVN"
> AuthUserFile /etc/httpd/passwd/passwords
> Require valid-user
> </LimitExcept>
> </Location>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1016096

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-01-12 14:03:31 CET

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.