/etc/httpd/conf.d/subversion.conf:(沒有就新建一個(gè))
<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豫柬,修改權(quán)限
</Directory>
重啟svn和httpd