Admin-Ahead Community

Linux => Virtualization => Topic started by: Jithin on November 29, 2013, 09:50:16 pm

Title: mod_fcgid: HTTP request length ... (so far) exceeds MaxRequestLen (131072)
Post by: Jithin on November 29, 2013, 09:50:16 pm
Hi Guys,

You may get the following error in Plesk VPS.

mod_fcgid: HTTP request length ... (so far) exceeds MaxRequestLen (131072)

You are getting this error because the FcgidMaxRequestLen directive was changed from 1GB to 128KB in the mod_fcgid package.

Workaround
1. Change the value of MaxRequestLen in domainVirtualHost.php template.

Important: Do not change the default template. To introduce your changes to the configuration, copy the  /usr/local/psa/admin/conf/templates/default/domain/domainVirtualHost.php file to the /usr/local/psa/admin/conf/templates/custom/domain directory and then modify the copied file. See KB #115277 for more information.

2. Reconfigure domains:
/usr/local/psa/admin/bin/httpdmng --reconfigure-all

That will fix all issues!