redirecting cgi error to browser

Cliff Wells LogiplexSoftware at earthlink.net
Mon Nov 18 16:05:37 EST 2002


On Mon, 2002-11-18 at 12:20, les wrote:
> hi,
> i would like to redirect the cgi error to my browser, for debugging purposes.
> i am looking for it on the net but am unable to find it.
> can someone please give me an example 
> thanks

import cgitb

cgitb.enable()

-- 
Cliff Wells, Software Engineer
Logiplex Corporation (www.logiplex.net)
(503) 978-6726 x308  (800) 735-0555 x308
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: This is a digitally signed message part
URL: <http://mail.python.org/pipermail/python-list/attachments/20021118/90bb8294/attachment.sig>


More information about the Python-list mailing list