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

Re: Permission denied error with mod_dav_svn

From: Nico Kadel-Garcia <nkadel_at_comcast.net>
Date: 2006-07-27 17:02:35 CEST

  ----- Original Message -----
  From: Tim Berglund
  To: users@subversion.tigris.org
  Sent: Thursday, July 27, 2006 10:10 AM
  Subject: Permission denied error with mod_dav_svn

  I'm running Apache 2.2.2 and Subversion 1.3.2 on Fedora Core 5. I am attempting to use mod_dav_svn to access a Subversion repository, but I'm getting permission deined errors that don't seem to make sense.

  The relevant part of httpd.conf:
  <Location /svn/web>
     DAV svn
     SVNPath /var/svn/web

Try something like this:

    # To make sure they're loaded
    LoadModule dav_svn_module modules/mod_dav_svn.so
    LoadModule authz_svn_module modules/mod_authz_svn.so

    <Location /svn>
       DAV svn
       SVNParentPath /var/svn # Notice this bit?
       SVNListParentPath on # Optional, useful for browsing multiple repos on one server

       # Limit write permission to list of valid users.
          AuthType Basic
          AuthName "Authorization Realm"
          AuthUserFile /path/to/passwdfile
          Require valid-user

I don't think you're authenticating when you connect. The above is much closer to the canonical subversion.conf that comes with mod_dav_svn.
Received on Thu Jul 27 17:04:16 2006

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.