apache+svn搭建方式如下:http://www.cnblogs.com/uglyliu/p/6914056.html
SVN和ldap集成,我用的方式只需要更改 /etc/http/conf.d/subversion.conf
配置如下:
<Location /svn/> DAV svn SVNListParentPath on SVNParentPath /home/svndata AuthBasicAuthoritative on AuthType Basic AuthName "svn" AuthBasicProvider ldap AuthzLDAPAuthoritative off AuthLDAPURL "ldap://ldap ip:389/dc=自己设置,dc=com?uid?sub?(objectClass=*)" AuthLDAPBindDN "cn=manager,dc=自己设置,dc=com" AuthLDAPBindPassword "manager的密码" AuthzSVNAccessFile /etc/subversion/svn-authz.conf Require valid-user </Location>
时间: 2024-10-12 11:58:35