From: mark Date: 2005-11-23T06:02:30+09:00 Subject: Re: debugging a cgi Thanks for the suggestions, however running from the shell and viewing logs are not usually available in budget hosting packages. I found a way to do what I want with mod_ruby by setting up a custom 500 page and putting: r = Apache.request rp = r.prev backtrace_id = nil puts rp.error_message.to_s however this only works for mod_ruby. Any tips much appreciated