From: Doug Jolley Date: 2012-07-09T02:09:47+09:00 Subject: Re: Rescue Failing in CGI Script > Have you checked if there's a problem within the rescue clause? If > another exception happens there, it won't be rescued and will lead to > the standard error page. > > You could try to wrap the outer "begin-end" block in another block and > do something simple in its rescue clause (output a simple string, write > text to a file or whatever). Now that is absolutely an awesome suggestion. It is exactly the type of thing that I am looking for. Unfortunately, it appears that that is not the problem. I have replaced the content of the rescue block with the following line of code: puts("Content-type: text/html\n\nRescue Test

Error

") The rescue block is still not being called when a divide-by-0 error is introduced. I am, however, leaving the above substitution in place until this issue is finally resolved just in case there is also a problem with the actual content of my rescue block in ADDITION to whatever other problem there is. Thanks so much. It was indeed an awesome suggestion. ... doug -- Posted via http://www.ruby-forum.com/.