在浏览器上可以访问SVN服务器,但用TSVN访问不了,是什么缘故
在浏览器上可以访问SVN服务器,但用TSVN访问不了,是什么原因?
各位前辈,帮帮忙。
最近我在Debian上架设了SVN+APACHE2服务器,代码如下:
<VirtualHost *:80 >
DocumentRoot /datarepos/svn-repos
ServerName svn.jan.tech
RedirectMatch ^(/repos)$ $1/
ErrorLog /var/log/apache2/subversion/error.log
LogLevel warn
CustomLog /var/log/apache2/subversion/access.log combined
<Location /repos>
DAV svn
SVNParentPath /datarepos/svn-repos
SVNListParentPath On
SVNAutoversioning On
SVNReposName "Jiean Repository"
AuthzSVNAccessFile /datarepos/svn-repos/svnaccess.authz
</Location>
现在的问题是:我用网页形式可以访问,访问形式如下:http://svn.jan.tech/repos/
而且一切正常,但是我用TSVN,就是那个小乌龟不可以,我用SVN Checkout-》http://svn.jan.tech/repos/不可以。出错提示是:
Repository moved temporarily to '/repos/'; please relocate
这是什么原因呀?
请大哥们帮帮小弟。小弟这的分也不多了,如果有需要的话你全部拿去吧。还有,因为用的是域名访问,我把Windows下的Hosts文件增添了一句:10.0.0.5 svn.jan.tech
------解决方案--------------------
看看这个 http://subversion.tigris.org/faq.html#301-error
有没有帮助
------解决方案--------------------
你用浏览器访问:http://svn.jan.tech/repos/ 访问是什么样的页面?
你确定 repos 就是你的版本库吗?
而你的配置里 SVNParentPath /datarepos/svn-repos 我想问这又是什么东东呢?svn-repos
你再重新确定一下吧!
最好能上图,我好帮你解答问题.
各位前辈,帮帮忙。
最近我在Debian上架设了SVN+APACHE2服务器,代码如下:
<VirtualHost *:80 >
DocumentRoot /datarepos/svn-repos
ServerName svn.jan.tech
RedirectMatch ^(/repos)$ $1/
ErrorLog /var/log/apache2/subversion/error.log
LogLevel warn
CustomLog /var/log/apache2/subversion/access.log combined
<Location /repos>
DAV svn
SVNParentPath /datarepos/svn-repos
SVNListParentPath On
SVNAutoversioning On
SVNReposName "Jiean Repository"
AuthzSVNAccessFile /datarepos/svn-repos/svnaccess.authz
</Location>
现在的问题是:我用网页形式可以访问,访问形式如下:http://svn.jan.tech/repos/
而且一切正常,但是我用TSVN,就是那个小乌龟不可以,我用SVN Checkout-》http://svn.jan.tech/repos/不可以。出错提示是:
Repository moved temporarily to '/repos/'; please relocate
这是什么原因呀?
请大哥们帮帮小弟。小弟这的分也不多了,如果有需要的话你全部拿去吧。还有,因为用的是域名访问,我把Windows下的Hosts文件增添了一句:10.0.0.5 svn.jan.tech
------解决方案--------------------
看看这个 http://subversion.tigris.org/faq.html#301-error
有没有帮助
------解决方案--------------------
你用浏览器访问:http://svn.jan.tech/repos/ 访问是什么样的页面?
你确定 repos 就是你的版本库吗?
而你的配置里 SVNParentPath /datarepos/svn-repos 我想问这又是什么东东呢?svn-repos
你再重新确定一下吧!
最好能上图,我好帮你解答问题.