svn은 이미 설치되어 있다고 가정함
# yum install mod_dav_svn
# vi /etc/httpd/conf/httpd.conf
LoadModule dav_module modules/mod_dav.so # 코멘트 해제
# vi /etc/httpd/conf.d/subversion.conf
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so
<Location /repos>
DAV svn
SVNParentPath /data/svn/repos/
# 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 /data/svn/.htpasswd
Require valid-user
# </LimitExcept>
</Location>
접속 URL
http://aaa.bb.com/repos/reponame/
댓글 없음:
댓글 쓰기