Problem with Fcgid using Worpress Client for Android

Written by James McDonald

November 20, 2012

Just discovered that the fcgid apache module has a very low HTTP max request length of 131072 bytes by default. Which was causing the Worpress client to exit with a server 500 error when uploading a post.

This showed up in error_log as a MaxRequestLen error

The old limit before Apache 2.3.6 was 1GB so as the docs mention you should set it to something sane.I chose 10 485 760 which equates to 10MB.

So in my virtualhost section i put:

FcgidMaxRequestLen 10485760

0 Comments

Submit a Comment

Your email address will not be published.

You May Also Like…

ZPL SBPL

Zebra Printer Language http://labelary.com/viewer.html The above website has a page where you can enter ZPL and it...

PHP Iterators

Just came across a Youtube talk "Iterators in PHP" by Jake Smith published in 2014 that steps through the many...

PHP array_map Multiple Arrays

array_map can take multiple arrays. I like how it starts mapping through them starting at the first element of each...