[CGI] Basic newbie error or server configuration error?

Gilles nospam at nospam.com
Mon Aug 20 07:56:23 EDT 2012


Found it: The script MUST return something to the browser. I was
missing this:

========
print "Content-Type: text/html;charset=utf-8"
print

# print a document
print "Name is %s" % ( cgi.escape(name), )
========

Sorry about that.



More information about the Python-list mailing list