Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #27481

Re: [CGI] Basic newbie error or server configuration error?

From Gilles <nospam@nospam.com>
Newsgroups comp.lang.python
Subject Re: [CGI] Basic newbie error or server configuration error?
Date 2012-08-20 13:56 +0200
Message-ID <8d9438d5f3j9ljtk5lphkvsvn3bundurnm@4ax.com> (permalink)
References <6c84389rqmrj01cppc0ppiedqd44o4mfdf@4ax.com>
Organization Guest of ProXad - France

Show all headers | View raw


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.

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[CGI] Basic newbie error or server configuration error? Gilles <nospam@nospam.com> - 2012-08-20 13:41 +0200
  Re: [CGI] Basic newbie error or server configuration error? Gilles <nospam@nospam.com> - 2012-08-20 13:56 +0200
  Re: [CGI] Basic newbie error or server configuration error? Rod Person <rodperson@rodperson.com> - 2012-08-20 07:59 -0400
    Re: [CGI] Basic newbie error or server configuration error? Gilles <nospam@nospam.com> - 2012-08-20 15:50 +0200
      Re: [CGI] Basic newbie error or server configuration error? Hans Mulder <hansmu@xs4all.nl> - 2012-08-20 16:56 +0200
        Re: [CGI] Basic newbie error or server configuration error? Gilles <nospam@nospam.com> - 2012-08-20 17:51 +0200

csiph-web