[Tutor] debugging CGI hints

Danny Yoo dyoo@hkn.eecs.berkeley.edu
Thu, 7 Mar 2002 10:03:07 -0800 (PST)


On Thu, 7 Mar 2002, Lloyd Kvam wrote:

> I am sure you have figured out that "Internal Server Error" means the
> script could not be run - any thing from syntax error to permissions
> or owner problems.

Also, if we have Python 2.2, we can import the 'cgitb' module:

    http://www.python.org/doc/lib/module-cgitb.html

This was recently included in the standard library, and automatically
activates CGI scripts to print traceback reports if a CGI program dies.

Good luck!