[mod_python] cgitb?

John Mudd mudd at vex.net
Sun Mar 28 15:12:39 EST 2004


Adding the following to a python CGI script is great for getting the
traceback in HTML displayed on the browser.  Is there a way to use this
with mod_python in a request handler?  I use the "PythonDebug On" now in
httpd.conf and I do get traceback listed on my browser but the cgitb
report is more impressive.

	import cgitb; cgitb.enable()



More information about the Mod_python mailing list