SVN:Commit faiedl,同时将/Commit index.php添加到my repo下的任何文件夹

SVN:Commit faiedl,同时将/Commit index.php添加到my repo下的任何文件夹,svn,mod-dav-svn,Svn,Mod Dav Svn,我可以向repo添加/提交任何文件/文件夹,但index.php除外。当我将/commit index.php添加到我的repo下的任何文件夹时,会出现如下错误: Command Commit Adding D:\svn\projects\myrepo\index.php Error Commit failed (details follow): Error Repository moved permanently to Error 'http://mydomain.co

我可以向repo添加/提交任何文件/文件夹,但index.php除外。当我将/commit index.php添加到我的repo下的任何文件夹时,会出现如下错误:

Command  Commit
Adding   D:\svn\projects\myrepo\index.php
Error    Commit failed (details follow):
Error    Repository moved permanently to
Error    'http://mydomain.com/repos/myrepo/!svn/wrk/RANDOM-HASH/';
Error    please relocate
Error    Repository moved permanently to 'http://mydomain.com/repos/myrepo/'; please relocate
Finished!
回购:在:/var/www/svn/myrepo下 网址: 支持向量机mod_dav_svn在带plesk的Red hat linux上 通过windows tortoisesvn提交/添加

我找不到任何线索为什么会这样。我在本地centos测试服务器上对svn进行了相同的配置,我可以在那里提交任何内容,包括index.php


可能的原因是什么?

可能index.php文件仍在浏览器中打开?有时,在某些文件中,它会导致问题。尝试关闭浏览器,然后提交。

哦,我发现了错误。实际上,我正在从主域根目录上的url中删除index.php。ie i正在删除index.php by.htaccess并将所有domain.com/index.php永久重定向到domain.com


解决方案是在站点上创建一个虚拟主机或子域,现在我在svn.domain.com/repos上有了repos,现在一切都正常,因为从main domain.com的url中删除index.php并不需要规则,而是有自己的子域。

即使我在任何子文件夹中创建了新的index.php并尝试添加/提交,也会出现同样的错误。但不适用于任何其他文件/文件夹。