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

SVNListParentPath doesn't work with AuthzSVNAccessFile

From: Ionut Scutaru <ionut.scutaru_at_gmail.com>
Date: 2006-12-12 22:00:16 CET

Hi,
Sorry for reposting, but I realized I put the wrong subject to this email
and some people might not notice it..Ok, here it is...

I have the same problem others are having related to listing the
repositories .. I read all the posts related to this item and all mention
that I should have a trailing / in the Location. Although I have it, I still
get the same error ( i.e. Forbidden - You don't have permission to access
/repos/ on this server.)

I noticed also that if I comment the AuthzSVNAccessFile entry, it's working
just fine..

I'm using SVN 1.3.1 with Apache 2.0. Here's what I have in httpd.conf:

......
<Location /repos/ >
    DAV svn
    SVNParentPath /usr/local/svn_repository
    SVNListParentPath on
    AuthType Basic
    AuthName "Subversion Repository"
    AuthUserFile /etc/htpasswd
    <LimitExcept GET PROPFIND OPTIONS REPORT>
      Require valid-user
    </LimitExcept>
    #SSLRequireSSL
    AuthzSVNAccessFile /etc/authzAccessFile
</Location>
......
RedirectMatch ^(/repos)$ $1/
......

I heard other people saying that they fixed the problem by adding a index
file. Probably it's not such an elegant solution, but now I'm interested
more in making it work than how it's working. So.. any advice would be
greatly appreciated !

Thank you !
Ionut
Received on Tue Dec 12 22:00:55 2006

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