[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: Tim Berglund <tlberglund_at_gmail.com>
Date: 2006-07-27 17:18:22 CEST

Nico:

Sorry for my brevity in the quoted svn.conf file. I had commented out the
security stuff as a part of the troubleshooting process, so I just didn't
show it in what I originally posted. I plan on adding it back in when I get
repository access working at all.

I did add then SVNParentPath and SVNListParentPath directives, unfortunately
to no avail.

Tim

On 7/27/06, Nico Kadel-Garcia <nkadel@comcast.net> wrote:
>
>
>
> ----- Original Message -----
> *From:* Tim Berglund <tlberglund@gmail.com>
> *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
> </Location>
>
> 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.
> <LimitExcept GET PROPFIND OPTIONS REPORT>
> AuthType Basic
> AuthName "Authorization Realm"
> AuthUserFile /path/to/passwdfile
> Require valid-user
> </LimitExcept>
> </Location>
> 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:20:21 2006

This is an archived mail posted to the Subversion Users mailing list.