在提交.htaccess文件期间svn“连接重置由对等”错误

我只能提交.htaccess文件。 当我尝试在terminal上提交时,出现此错误:

svn: PUT of '/svn_sr/!svn/wrk/2ce2c337-a371-411d-ae18-c39acaa2d846/trunk/crm/.htaccess': Could not read status line: Connection reset by peer (http://www.xxx.com) 

当我尝试在zend-studio上提交时,出现以下错误:

 svn: Connection reset svn: PROPFIND request failed on '/svn_sr/trunk/crm/.htaccess' 

我认为这是许可问题,但我不知道我该如何解决。 我在网上发现了一些关于这个问题的东西,但是我不明白或者我解决不了问题。

我的虚拟主机configuration:

 <VirtualHost *:80> ServerAdmin webmaster@localhost ServerName www.xxx.com DocumentRoot /home/umutftp <Location /svn_sr> DAV svn SVNPath /var/svn/sr AuthType Basic AuthName "Development area" AuthUserFile /etc/apache2/dav_svn.passwd Require valid-user </Location> <Directory /home/umutftp> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory> ErrorLog ${APACHE_LOG_DIR}/xxx_error.log LogLevel warn CustomLog ${APACHE_LOG_DIR}/xxx_access.log combined </VirtualHost> 

注:我不懂英文。 如果你用简单的语言解释,我会很高兴。

你有一个看起来像这样的部分…

 <Files ~ "^\.ht"> Order allow,deny Deny from all Satisfy all </Files> 

…或者其他configuration中的其他东西

无论你在哪里,这都是Apache的默认configuration。 它专门用于打破对.htaccess文件的访问; 删除它可以在SVN中与他们一起工作。