tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Turner, John" <JTur...@AAS.com>
Subject RE: Please help me...URGENT
Date Mon, 05 Aug 2002 18:33:22 GMT

tomcat doesn't support CGI by default.

Instructions for enabling CGI are in $CATALINA_HOME/conf/web.xml (at least
they are there in tomcat 4.0.4).

John Turner
jturner@NOSPAM.aas.com

-----Original Message-----
From: Sujith Mathew [mailto:sujithjm@myrealbox.com]
Sent: Monday, August 05, 2002 2:00 PM
To: tomcat-user@jakarta.apache.org
Subject: Please help me...URGENT


*hello,

I am using tomcat4.01 to serve dymnamic and staitic web pages. When i 
try to execute CGI script , it gives the folllowing error. Please help 
me urgently.

Thanks
Sujith Mathew


Header: 
/home/cvs/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/servlets
/CGIServlet.java,v 
1.6 2001/08/20 02:42:11 amyroh Exp $ *


      *CGI script not found or not specified. *


        *Check the HttpServletRequest pathInfo
        <http://www.sbtr.com/cgi-bin/branchl.cgi#pathInfo> property to
        see if it is what you meant it to be. You must specify an
        existant and executable file as part of the path-info. *


        *For a good discussion of how CGI scripts work and what their
        environment variables mean, please visit the CGI Specification
        page <http://cgi-spec.golux.com/>. *


  *ServletRequest Properties*

    * * characterEncoding = null
    * contentLength = 39
    * contentType = application/x-www-form-urlencoded
    * locale = hi
    * parameter B1 = Search
    * parameter bname = kowdiar
    * parameter dist =
    * parameter state = ANY
    * protocol = HTTP/1.0
    * remoteAddr = 202.88.239.52
    * remoteHost = 202.88.239.52
    * scheme = http
    * secure = false
    * serverName = www.sbtr.com
    * serverPort = 80
*

------------------------------------------------------------------------


  *HttpServletRequest Properties*

    * * authType = null
    * contextPath =
    * header accept = image/gif, image/x-xbitmap, image/jpeg,
      image/pjpeg, application/vnd.ms-excel, application/msword,
      application/vnd.ms-powerpoint, */*
    * header referer = http://www.sbtr.com/branch.htm
    * header accept-language = hi
    * header content-type = application/x-www-form-urlencoded
    * header accept-encoding = gzip, deflate
    * header user-agent = Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)
    * header content-length = 39
    * header via = 1.1 onlinesbt.com:3128 (Squid/2.4.STABLE1)
    * header x-forwarded-for = 172.16.1.36
    * header host = www.sbtr.com
    * header cache-control = no-cache, max-age=259200
    * header connection = keep-alive
    * method = POST
    * pathInfo = /branchl.cgi
    * pathTranslated = e:\ftp\sbtr.com\branchl.cgi
    * queryString = null
    * remoteUser = null
    * requestedSessionId = null
    * requestedSessionIdFromCookie = false
    * requestedSessionIdFromURL = false
    * requestedSessionIdValid = false
    * requestURI = /cgi-bin/branchl.cgi
    * servletPath = /cgi-bin
    * userPrincipal = null
*

------------------------------------------------------------------------


  *ServletRequest Attributes*

------------------------------------------------------------------------


  *ServletConfig Properties*

    * * servletName = cgi
*

------------------------------------------------------------------------


  *ServletConfig Initialization Parameters*

    * * cgiPathPrefix = WEB-INF/cgi
    * debug = 6
    * clientInputTimeout = 100
*

------------------------------------------------------------------------


  *ServletContext Properties*

    * * majorVersion = 2
    * minorVersion = 3
    * realPath('/') = e:\ftp\sbtr.com\
    * serverInfo = Apache Tomcat/4.0.4
*

------------------------------------------------------------------------


  *ServletContext Initialization Parameters*

------------------------------------------------------------------------


  *ServletContext Attributes*

    * * org.apache.catalina.WELCOME_FILES = [Ljava.lang.String;@1fbfd6
    * javax.servlet.context.tempdir =
      C:\tomcat4\work\Standalone\www.sbtr.com\_
    * org.apache.catalina.resources =
      org.apache.naming.resources.ProxyDirContext@6b9c84
    * org.apache.catalina.jsp_classpath =
 
C:/tomcat4/classes/;C:/tomcat4/lib/jasper-compiler.jar;C:/tomcat4/lib/jasper
-runtime.jar;C:/tomcat4/lib/mm.mysql-2.0.4-bin.jar;C:/tomcat4/lib/naming-fac
tory.jar;C:/tomcat4/common/classes/;C:/tomcat4/common/lib/activation.jar;C:/
tomcat4/common/lib
*

*

*


--
To unsubscribe, e-mail:
<mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:tomcat-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message