neelesh86 has asked for the wisdom of the Perl Monks concerning the following question:
I have Tomcat 7.0.26 installed on one of the Linux boxes which has perl v5.8.8 installed on it. I followed the same steps except install perl as it was already done…but still the script did not run…getting “HTTP Status 404 – Servlet cgi is not available”. I have two files one is .html in which the form action runs the cgi script. Both are kept in same folder. URL: http://servername:8080/hotel/hotel_post.html Please help!! Thanks!
below is the web.xml on the server.Folks please check my scratchpad for the html and the cgi files. Thanks!<servlet> <servlet-name>cgi</servlet-name> <servlet-class>org.apache.catalina.servlets.CGIServlet</servle +t-class> <init-param> <param-name>debug</param-name> <param-value>0</param-value> </init-param> <init-param> <param-name>cgiPathPrefix</param-name> <param-value>WEB-INF/cgi</param-value> </init-param> <init-param> <param-name>passShellEnvironment</param-name> <param-value>true</param-value> </init-param> <load-on-startup>5</load-on-startup> </servlet> <servlet-mapping> <servlet-name>cgi</servlet-name> <url-pattern>*.cgi</url-pattern> </servlet-mapping>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Not able to run CGI scripts on Tomcat 7.0.26
by NetWallah (Canon) on Dec 24, 2013 at 03:23 UTC | |
by neelesh86 (Initiate) on Dec 27, 2013 at 23:48 UTC | |
by Anonymous Monk on Dec 28, 2013 at 07:20 UTC | |
|
Re: Not able to run CGI scripts on Tomcat 7.0.26
by ww (Archbishop) on Dec 24, 2013 at 02:31 UTC |