SVN Access Control List Error

Discussion in 'Server Operation' started by PavementPounder, Feb 8, 2009.

  1. PavementPounder

    PavementPounder New Member

    Hi all,

    I'm using ISPConfig 2.2.29 on CentOS 5.2. I have subversion installed and configured using the config file in /etc/httpd/conf.d/subversion.conf.

    When I'm not using an access control list for svn, and only user authentication, everything works fine (I can checkout a project), but as soon as the "AuthzSVNAccessFile /etc/subversion/svnacl.conf" line is uncomented all I get is the error below. Anybody know why this is happening?

    Code:
    svn checkout https://www.mydomain.ca/repos/Project
    svn: Server sent unexpected return value (403 Forbidden) in response to OPTIONS request for 'https://www.mydomain.ca/repos/Project'
    /etc/httpd/conf.d/subversion.conf
    Code:
    <Location /repos>
       DAV svn
       SVNParentPath /var/www/svn
    
       # Limit write permission to list of valid users.
       <LimitExcept GET PROPFIND OPTIONS REPORT>
          # Require SSL connection for password protection.
          SSLRequireSSL
    
          AuthType Basic
          AuthName "Subversion Authorization Realm"
          AuthUserFile /etc/subversion/svnpasswd
          Require valid-user
          AuthzSVNAccessFile /etc/subversion/svnacl.conf
       </LimitExcept>
    </Location>
    /etc/subversion/svnacl.conf
    Code:
    [/]
    username = rw
    
    [Project: /]
    username = rw
     

Share This Page