remove the jsp_file from the URL, it`s not in your cgi config <url-pattern>/cgi-bin/*</url-pattern> then it seems it must look like
http://localhost/cgi-bin/up.cgi JLD ----- Original Message ----- From: "Tim Funk" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Wednesday, March 03, 2004 8:05 PM Subject: Re: cgi-bin > Hmm. I am out of ideas (i don't use the cgi mod), hopefully catalina.out or > the other logs have something insightful. > > -Tim > > George Hester wrote: > > OK. servlets-cgi.jar is in \WEB-INF\lib. This is in the web.xml and only this: > > > > <servlet> > > <servlet-name>cgi</servlet-name> > > <servlet-class>org.apache.catalina.servlets.CGIServlet</servlet-class> > > <init-param> > > <param-name>clientInputTimeout</param-name> > > <param-value>100</param-value> > > </init-param> > > <init-param> > > <param-name>debug</param-name> > > <param-value>6</param-value> > > </init-param> > > <init-param> > > <param-name>cgiPathPrefix</param-name> > > <param-value>WEB-INF/cgi</param-value> > > </init-param> > > <load-on-startup>5</load-on-startup> > > </servlet> > > > > <!-- The mapping for the CGI Gateway servlet --> > > > > <servlet-mapping> > > <servlet-name>cgi</servlet-name> > > <url-pattern>/cgi-bin/*</url-pattern> > > </servlet-mapping> > > > > This is the test http://localhost/jsp_files/cgi-bin/up.cgi > > > > This is the result: > > > > HTTP Status 503 - Servlet cgi is currently unavailable > > > > -------------------------------------------------------------------------- ------ > > > > type Status report > > > > message Servlet cgi is currently unavailable > > > > description The requested service (Servlet cgi is currently unavailable) is not currently available. > > > > > > -------------------------------------------------------------------------- ------ > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
