linux 下svn支持http

/etc/httpd/conf.d/subversion.conf:(没有就新建一个)


DAV svn

SVNPath /opt/svn/svntest

SVNListParentPath on
SVNParentPath /opt/svn
AuthType Basic
AuthName "password for svn server"
AuthzSVNAccessFile /opt/svn/conf/authz
AuthUserFile /opt/svn/conf/http_passwd
Require valid-user

/etc/httpd/conf/httpd.conf:


AllowOverride none
Require all granted //原来是denied,修改权限

重启svn和httpd

你可能感兴趣的:(linux 下svn支持http)