我试图build立一个与Apache2 / WebDAV访问的颠覆服务器。 我已经创build了存储库,并根据官方的书configurationApache,我可以在网页浏览器中看到这个存储库。
浏览器显示:
CONF / D b/ 钩/ 锁/
虽然点击任何这些链接给出一个空的XML文档,如:
<D:error> <C:error/> <m:human-readable errcode="2"> Could not open the requested SVN filesystem </m:human-readable> </D:error>
我从来没有使用颠覆之前,所以我认为这是正确的?
无论如何,当我尝试通过命令行客户端连接,它要求我的密码,我给它,然后我得到(无用的)错误消息:
svn:“https://svn.mysite.com”的选项:无法读取状态行: 安全连接被截断(https://svn.mysite.com)
或者closuresSSL:
无法读取状态行:连接被服务器closures
我正在使用的命令是:
svn结帐https://svn.mysite.com/ svn.mysite.com
使用Ubuntu的包pipe理器安装Subversion。 Ubuntu 10.04上的版本是1.6.6。
我的虚拟主机configuration:
<VirtualHost 123.123.12.12:443> ServerAdmin [email protected] ServerName svn.mysite.com <Location /> DAV svn SVNParentPath /var/svn/repos SVNListParentPath On AuthType Basic AuthName "Subversion Repository" AuthUserFile /etc/subversion/passwd Require valid-user </Location> # Setup The SSL Certificate Paths SSLEngine On SSLCertificateFile /etc/ssl/certs/mysite.com.crt SSLCertificateKeyFile /etc/ssl/private/dmysite.com.key </VirtualHost>
得到它了!
在虚拟主机中:
SVNParentPath /var/svn/repos SVNListParentPath On
应该:
SVNPath /var/svn/repos
除非在目录中有多个存储库。