change MaxRequestLen

gate2vn

Verified User
Joined
Nov 9, 2004
Messages
489
Location
Oslo
I have this in the error log
mod_fcgid: HTTP request length 137760 (so far) exceeds MaxRequestLen (131072)

However, when I checked in /etc/httpd/conf/extra/httpd-fcgid.conf, the value of MaxRequestLen is more than that already
# grep MaxRequestLen httpd-fcgid.conf
FcgidMaxRequestLen 1073741824

Any idea why the error is still appearing?
Thanks.
 
From the apache docs:
Warning
Before 2.3.6, this defaulted to 1GB. Most users of earlier versions should use this directive to set a more reasonable limit.
I see a lot of pages on Google when I search which advise this value as a solution:
FcgidMaxRequestLen 200000000
And also in php.ini a minimum of:
upload_max_filesize = 2M
post_max_filesize = 8M

Be aware, these solutions I found on Google on several pages, I don't work with fcgid myself.
 
Back
Top