Subversion提交大文件问题 [英] Subversion Commit Big file issue

查看:230
本文介绍了Subversion提交大文件问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想提交15mb文件在svn。但是5mb传输后得到错误消息&

svn:服务器发送了意外的返回值(413请求实体过大)msgctxtName )响应PUT请求....



我试图使用svn commit,svn import。但没有运气。



有关相同的想法吗?

解决方案


Apache服务器端错误是:

 错误:XML请求正文大于配置的限制1000000 

LimitXMLRequestBody默认值(当http.conf中不存在指令时)为1000000,这是1MB



要增加到50MB,请将此行添加到httpd.conf(我放在我的svn vhost部分)。

  LimitXMLRequestBody 52428800 

注意:LimitRequestBody与LimitXMLRequestBody。先前的回答提到LimitRequestBody,这不是正确的选项。


I am trying to commit 15mb file in svn. But after 5mb transfer getting error message & commit failed.

Error message is

"svn: Server sent unexpected return value (413 Request Entity Too Large) in response to PUT request for ...."

I tried to use svn commit ,svn import.But no luck.

Any idea regarding same?

解决方案

I have run into this issue before. The Apache server side error is:

Error: XML request body is larger than the configured limit of 1000000

The LimitXMLRequestBody default (when directive not present in http.conf) is 1000000 which is 1MB

To increase to 50MB add this line to httpd.conf (I put mine in my svn vhost section).

LimitXMLRequestBody 52428800

NOTE: LimitRequestBody vs LimitXMLRequestBody. A prior answer mentions LimitRequestBody, this is not the correct option.

这篇关于Subversion提交大文件问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆