SVN与LDAP整合一般借助Apache,首先看看svn与Apache整合:Apache的HTTP服务器
最基本的配置如下:
<Location /repos>
DAV svn
SVNPath /var/www/svn/repos
AuthType Basic
AuthName "SVN Authorization Realm"
#使用htpasswd产生的密码文件
AuthUserFile /var/www/svn/repos/conf/passwd
AuthzSVNAccessFile /var/www/svn/repos/conf/authz
#允许匿名读取
Satisfy Any
Require valid-user
</Location>
OK,假设你已经理解了以上配置。
验证模块文档:mod_auth_basic
在前几篇文档中,我们创建了Developer和Tester两个group,现在我们配置成开发有读写权限,其他用户有读取权限,如下:
<Location /repos>