Request Entity Too Large

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

Request Entity Too Large
The requested resource
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 Port 443


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

How to fix?

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.

Set LimitRequestBody=0. Profit Smile

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.