Welcome Guest, Not a member yet? Register   Sign In
Request Entity Too Large
#1

[eluser]Unknown[/eluser]
On the server downloads a text file of 4MB. Loading going through POST.
Sometimes an error occurs:

Code:
Request Entity Too Large
The requested resource
/index.php/file/upload
does not allow request data with POST requests, or the amount of data provided in the request exceeds the capacity limit.
--------------------------------------------------------------------------------

Apache/2.2.11 (Ubuntu) PHP/5.2.6-3ubuntu4.2 with Suhosin-Patch mod_ssl/2.2.11 OpenSSL/0.9.8g Server at 10.0.1.51 Port 443

Configs:

memory_limit: 768M
post_max_size: 32M
upload_max_filesize: 64M

How to fix?
#2

[eluser]WanWizard[/eluser]
mod_security active? In that case, check the apache config for "SecRequestBodyLimit" which has to match your post_max_size.

Another possibility is the apache parameter "LimitRequestBody", which again must match your post_max_size.
#3

[eluser]Unknown[/eluser]
Set LimitRequestBody=0. Profit Smile




Theme © iAndrew 2016 - Forum software by © MyBB