已安装并设置Subversion,但无法连接

时间:2015-05-22 12:47:29

标签: linux svn centos

我的目标是获得自己的SVN服务器。

我安装了Subversion,一切都很好。我配置了它

<Location /myrepo>
        DAV svn
        SVNPath /svn/my_repo #edit:SVNParentPath /svn/my_repo


        #For any else operations, require an authenticated user.
        # 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-users
              Require valid-user
        </LimitExcept>
</Location>

最后我跑了svnserver

svnserver -d

但是...... http://example.com/myrepo显示404,而Tortoise,SmartSVN等等则表示:

Unable to connect to a repository at URL 'http://usertest@example.com/myrepo'
The OPTIONS request returned invalid XML in the response: XML parse error at line 1: no element found (http://usertest@example.com/myrepo)

这是端口还是安全选项?

0 个答案:

没有答案