我在服务器上设置了subversion和apache.
如果我通过我的webbrowser浏览它,它工作正常(http://svn.host.com/reposname).
但是,如果我在我的机器上结账,我会收到以下错误:
Command: Checkout from http://svn.host.com/reposname,revision HEAD,Fully recursive,Externals included Error: Repository moved permanently to 'http://svn.host.com/reposname/'; please relocate
我检查了apache的错误日志,但它没有说什么. (它现在 – 见编辑)
我的存储库存储在:
在/ var / WWW / SVN /回购/
我的网站存储在:
在/ var / WWW /虚拟主机/ X / …
这是子域的conf文件:
<Location /> DAV svn SVNParentPath /var/www/svn/repos/ AuthType Basic AuthName "Authorization Realm" AuthUserFile /var/www/svn/auth/svn.htpasswd Require valid-user </Location>
身份验证正常.
有谁知道这可能导致什么?
– 编辑
所以我重新启动了apache(再次)并再次尝试,现在它给了我一个错误消息,但它并没有真正的帮助.任何人都知道这意味着什么?
[Wed Mar 31 23:41:55 2010] [error] [client my.ip.he.re] Could not fetch resource @R_411_4045@ion. [403,#0] [Wed Mar 31 23:41:55 2010] [error] [client my.ip.he.re] (2)No such file or directory: The URI does not contain the name of a repository. [403,#190001]
– 编辑2
如果我做svn信息它没有给出任何有用的信息:
[root@server domain.com]# svn info http://svn.domain.com/repos/ Username: username Password for 'username': svn: Repository moved permanently to 'http://svn.domain.com/repos/'; please relocate
我也尝试过本地结账(svn checkout file:/// var / www / svn / repos / reposname),并且工作正常(同时添加/提交工作正常).所以它似乎与apache有关.
其他一些信息:
>我正在运行CentOs 5.3
> Plesk 9.3
> Subversion,版本1.6.9(r901367)
– 编辑3
我尝试移动存储库,但它没有任何区别.
selinux是禁用的,所以它也不是.