/etc/httpd/conf.d/subversion.conf:(没有就新建一个)
<Location />
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
</Location>
/etc/httpd/conf/httpd.conf:
<Directory />
AllowOverride none
Require all granted //原来是denied,修改权限
</Directory>
重启svn和httpd