[Amer]
> Can you or anyone see anything in the posted code that might be the 
> cause?

> #!/usr/bin/python
> import cgitb; cgitb.enable(display=0, logdir=".")
> import sys
> sys.stderr = sys.stdout
> print "Content-Type: text/html"
> print

My guess would be that you don't have cgitb in your server environment, or
that you have a bogus one.  Rearrange things like this:

#!/usr/bin/python
print "Content-Type: text/html"
print
import sys
sys.stderr = sys.stdout
import cgitb; cgitb.enable(display=0, logdir=".")

-- 
Richie Hindle
[EMAIL PROTECTED]
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to