# yum install mod_dav_svn subversionDependencies Resolved
# vim /etc/httpd/conf/httpd.conf
# 配置httpd.conf
# service httpd start
# chkconfig httpd on
# cd /etc/httpd/conf.d/
# vim subversion.conf
------------------------------------------------------------------------------------------------------
<Location /svn>
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 "Authorization Realm"
AuthUserFile /etc/svn-auth-conf
AuthzSVNAccessFile /etc/svn-access
Require valid-user
#</LimitExcept>
</Location>
------------------------------------------------------------------------------------------------------
# htpasswd -cm /etc/svn-auth-conf yourusernameNew
# vim /etc/svn-access
------------------------------------------------------------------------------------------------------
[groups]
developers = lankelan
[repos:/]
@developers = rw
[doname:/]
@developers = rw
------------------------------------------------------------------------------------------------------
# svnadmin create doname
# service httpd restart
#####
注:DB目录应该有可写权限
Comments [0]