Web & App Servers

web servers

mod_fcgid: HTTP request length (so far) exceeds MaxRequestLen referer:

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

how to check tomcat version

How to check tomcat version on cPanel linux server :

#sh   /usr/local/jakarta/tomcat/./bin/version.sh

Using CATALINA_BASE:   /usr/local/jakarta/tomcat
Using CATALINA_HOME:   /usr/local/jakarta/tomcat
Using CATALINA_TMPDIR: /usr/local/jakarta/tomcat/temp
Using JRE_HOME:       /usr/local/jdk
Server version: Apache Tomcat/5.5.9
Server built:   Mar 26 2005 02:21:04
Server number:
OS Name:        Linux
OS Version:
Architecture:   i386
JVM Version:    1.6.0_17-b04
JVM Vendor:     Sun Microsystems Inc.

Go to Top