Search This Blog

Friday, February 8, 2013

What causes svn error 413 Request Entity Too Large? - Stack Overflow

What causes svn error 413 Request Entity Too Large? - Stack Overflow: "LimitXMLRequestBody "


Try to add the following configuration directives to your Apache configuration file:
LimitXMLRequestBody 0
LimitRequestBody 0
IF ABOVE DOESN't WORK THEN TRY here
Upon examining the 'mod_security.conf' configuration file, I discovered that the value 'SecRequestBodyInMemoryLimit' was indeed set to the default 131072 bytes (128 KB). I commented out this line and the problem disappeared! I suspect it will now allow file sizes up to the 1GB hard limit. 
There is another parameter 'SecResponseBodyLimit' which may also need adjusting. This is set to 524 288 bytes (512 KB). 
IF YOU ARE USING NGINX THEN USE this
Add ‘client_max_body_size xxM’ inside the server section, where xx is the size (in megabytes) that you want to allow.

No comments:

Post a Comment