At 12:24 PM 7/21/05 +0800, Goh Chin Tiong wrote: >Kindly advise on how we can disable the following >error from appearing on the browser when a >non-existent cgi script is being called. Thanks > >CGI Error >The specified CGI application misbehaved by not >returning a complete set of HTTP headers. The headers >it did return are: >Can't open perl script >"e:\Inetpub\scripts\customs\log\mini_logger.cgi": No >such file or directory
If you're using Apache u can set an error handler to display an html document when that particular code is encountered. Don't know about IIS or others, lah. --------------- In IIS, under the Application configuration settings you can enable the "Check that file exists" option for .cgi/.pl file extensions. This will cause the default 404 error page to be displayed instead. Also, not having this option enabled can potentially leave your server vulnerable to attack. - Chris _______________________________________________ Perl-Win32-Users mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
