Obvious Apache server setting is wrong (Ticket: ISU-80168-689)

zardiw

Perch
And could also be affecting why my PHP scripts have stopped working all of a sudden. I submitted a ticket on this about 5 hours ago and the issue has still not been resolved. Seems like something easy to fix NO?????......and fwiw, there are probably OTHER settings that should be looked at to make sure they are correct and reasonable:

The Error:

[Tue Jul 23 22:28:17 2013] [warn] [client 99.999.99.99] mod_fcgid: HTTP request length 131225 (so far) exceeds MaxRequestLen (131072), referer: http: xxx.com/xxxx.php

The FIX (I know this is Plesk, but it applies to ALL Apache Servers):

MaxRequestLen Issue
I'm not sure if Plesk upgrade to 10.3.1 is responsible for this issue, but it started occurring after a server was upgraded to Plesk 10.3.1.

Product: Parallels Plesk Panel Linux 10.3.1, version: psa v10.3.1_build1013110726.09 os_CentOS 5
Operating System: CentOS 5 i386. Kernel: 2.6.18-194.26.1.el5PAE
Architecture: i386

Problem Description:
When using PHP as FastCGI, if you try to upload a file larger than 128KB, an error "mod_fcgid: HTTP request length 131388 (so far) exceeds MaxRequestLen (131072)" occurs and causes an 550 internal server error.

Steps to reproduce:
1. Set PHP to run as FastCGI
2. Try to upload a file larger than 128KB using any PHP upload script.


Actual Results:
When using PHP as FastCGI, if you try to upload a file larger than 128KB, an error "mod_fcgid: HTTP request length 131388 (so far) exceeds MaxRequestLen (131072)" occurs and causes an 550 internal server error.
This happens because the value of MaxRequestLen directive is set to 131072 bytes (128KB) by default.
One way to correct this, is to edit /etc/httpd/conf.d/fcgid.conf and set MaxRequestLen to a higher value, for example 15MB (MaxRequestLen 15728640)


Expected Results:
MaxRequestLen should have been set to a higher value from the beginning to avoid such issues, 128KB is too low.

Additional Information:
This issue started occurring when a server was upgraded to Plesk 10.3.1.

z
 
Thank you ..........sorry for flying off the handle again in my usual way.........JodoHost ROCKSSSSSSSSSSSSSSSSSSSSSSSSSSSS

z
 
Back
Top