If you get the following error while uploading any file.

[Fri Sep 02 10:56:58 2011] [warn] [client ] mod_fcgid: HTTP request length 132287 (so far) exceeds MaxRequestLen (131072), referer:
[Fri Sep 02 10:56:58 2011] [error] [client ] File does not exist: /home/user/public_html/500.shtml, referer:

Then add the following code in a virtual host of affecting domain.


<IfModule mod_fcgid.c>
 # Here MaxRequestLen size is set to 30MB
 MaxRequestLen 31457280
 </IfModule>