If you get unusual errors when uploading a file via http check the error log. If you see this error message
[Tue May 27 17:55:15 2014] [warn] [client 254.50.232.53] mod_fcgid: HTTP request length 132330 (so far) exceeds MaxRequestLen (131072), referer: http://www.example.com/
Add this to your /etc/httpd/conf.d/fcgid.conf
MaxRequestLen 15728640
This works on Centos 6.X and should work on others. This can cause problems in software such as forums, WordPress and MediaWiki.
Leave a Reply