2009年6月9日星期二

Repository moved permanently to xxxx please relocate

可以在http://subversion.tigris.org/faq.html#301-error 找到答案

之前的配置为



DAV svn
SVNParentPath /data/svn/

AuthType Basic
AuthName "Authorization Realm"
AuthUserFile /etc/svnpwdfile
Require valid-user
# SVNListParentPath on

DocumentRoot /data/svn/
ServerName svn.example.cn


貌似正确,可在浏览器里正常 svn checkout时的时候就报Repository moved permanently to xxxx please relocate 错误

原因在faq里明显 就是apache 迷惑了, 可是不设DocumentRoot 就会报错. 解决办法也简单乱设一个有效的路径.... 妈的 居然这样就过了

没有评论: