Luckily this server is dedicated to this one application. And I have everything backed up. Though security is ALWAYS an issue, it's at least less of an issue on this server. If today's attempts do not get this woprking, I am most likely just going to turn off Tomcat's CGI abilities and then install Apache and just limit the heck out of it. Here is the CGI bits from the web.xml config file: -------------------------------------------- <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>
..... <servlet-mapping> <servlet-name>cgi</servlet-name> <url-pattern>/cgi-bin/*</url-pattern> </servlet-mapping> -------------------------------------------- Thanks. --Alex Alex Brelsfoard Web Applications Developer Web Development Office Worcester Polytechnic Institute 508-831-6147 [EMAIL PROTECTED] -----Original Message----- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 08, 2005 6:41 PM To: Tomcat Users List Subject: Re: Trouble getting CGI script to execute Brelsfoard, Alex wrote: >>OK. I should have spotted this from your last post. Your context path >>should > > be path="/myapp" NOT path="myapp" > Yeah, you're right. Oops. Thanks. 1 problem down. n to go... >>Script should be: >>/station/endeca/4.5.4/i86pc-linux/webapps/myapp/WEB-INF/cgi/script.cgi > > Good, this is where I put it originally. > > OK tried it.... Still asking me if I want to download the script.... Poop. This really bothers me. Since the cgi script is in the WEB-INF directory you should not be able to access it. I hope this is a config error but if I were you I would have some security concerns right now. Can you post the cgi parts of your web.xml as well please. I assume that has been modified too. Can you also check that ${CATALINA_HOME}/webapps/ROOT does not contain a directory called myapp. If it does - delete it. Mark --------------------------------------------------------------------- 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]