Bar*_* S. 23 linux svn apache-2.2
我已经在我的服务器上设置了 subversion 和 apache。
如果我通过我的网络浏览器浏览它,它工作正常(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
Run Code Online (Sandbox Code Playgroud)
我检查了 apache 的错误日志,但它什么也没说。(它现在 - 见编辑)
我的存储库存储在:/var/www/svn/repos/
我的网站存储在:/var/www/vhosts/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>
Run Code Online (Sandbox Code Playgroud)
身份验证工作正常。
有谁知道这可能是什么原因造成的?
- 编辑
所以我重新启动了apache(再次)并再次尝试,现在它给了我一条错误消息,但它并没有真正的帮助。任何人都知道这是什么意思?
[Wed Mar 31 23:41:55 2010] [error] [client my.ip.he.re] Could not fetch resource information. [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]
Run Code Online (Sandbox Code Playgroud)
-- 编辑 2
如果我这样做,svn info
它不会提供任何有用的信息:
[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
Run Code Online (Sandbox Code Playgroud)
我还尝试进行本地结帐 ( svn checkout file:///var/www/svn/repos/reposname
) 并且效果很好(添加/提交也很好)。所以它似乎与apache有关。
一些其他信息:
-- 编辑 3
我尝试移动存储库,但没有任何区别。
selinux 被禁用,所以也不是。
归档时间: |
|
查看次数: |
54548 次 |
最近记录: |