Hi, The "development" state or flag is unique to the JSP servlet. The CGI servlet and others don't have that option.
Yoav Shapira Millennium Research Informatics >-----Original Message----- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >Sent: Thursday, July 29, 2004 9:29 AM >To: Tomcat Users List >Subject: Re: How to disable CGI's 404 error > >Yes, that did the trick. > >I still wonder why I'm in the development state, after setting >web.xml the jsp servlet with development to false. Is this a compiled >in option for the CGI servlet or something I can configure? > >Thanks > >On Thu, Jul 29, 2004 at 08:56:42AM -0400, Shapira, Yoav wrote: >> >> Hola, >> The normal 404 error page doesn't have that information, so I'm guessing >> you're seeing the CGI servlet's more detailed error page. That page was >> created to assist developers in debugging CGI problems, and you're right >> to not want to show it to the world. Check to see what the HTTP >> response code is for a non-existing URL (you'd think 404), and create a >> simple custom error page for that code (just a static HTML page with a >> "not found" message). Then map the custom error page in your web.xml. >> >> Yoav Shapira >> Millennium Research Informatics >> >> >> >-----Original Message----- >> >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >> >Sent: Thursday, July 29, 2004 7:40 AM >> >To: [EMAIL PROTECTED] >> >Subject: How to disable CGI's 404 error >> > >> >Hello, >> > >> >We have a per user tomcat4 installation with Proxy enabled. I've >> configured >> >tomcat4 to serve CGI files and it works fine for that user. However >> >there's one problem. When I enter an non-existing URL under the >> cgi-bin/ >> >path, I get a html source of a "CGI script not found or not specified" >> >error, along with all sorts of info about my server like >> >ServletRequest Properties, HttpServletRequest Properties and >> >ServletRequest Attributes. >> > >> >Of course I don't want this info to be available to anyone and want >> >to disable it. I search google, this group archive and >> jakarta.apache.org >> >with no luck (the only thing I came close to was the change of listings >> >from true to false under the default servlet, but that didn't assist) >> so >> >here I am, asking you guys. >> > >> >Thanks in advance. >> > >> >-G >> > >> > >> >--------------------------------------------------------------------- >> >To unsubscribe, e-mail: [EMAIL PROTECTED] >> >For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> >> >> This e-mail, including any attachments, is a confidential business >communication, and may contain information that is confidential, >proprietary and/or privileged. This e-mail is intended only for the >individual(s) to whom it is addressed, and may not be saved, copied, >printed, disclosed or used by anyone else. If you are not the(an) intended >recipient, please immediately delete this e-mail from your computer system >and notify the sender. Thank you. >> >> >> --------------------------------------------------------------------- >> 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
