mod_fcgid: HTTP request length exceeds MaxRequestLen

When trying to upload a file you get “Error 500, Internal server error”. In the error log file you get something like:

[Tue Aug 21 20:40:39 2012] [warn] [client x.x.x.x] mod_fcgid: HTTP request length 132532 (so far) exceeds MaxRequestLen (131072), referer:

This problem is present in ISPConfig 3 running on Ubuntu 12.04, when running Apache2 with mod_fcgid.

Edit “/etc/apache2/mods-available/fcgid.conf” and add:

FcgidMaxRequestLen  1073741824

I came across this issue when trying to upload a media file using wordpress. I followed the fix above, restarted apache, and everything was golden.

Thanks Octavian!

Your email address will not be published. Required fields are marked *