Path: csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!nntp.club.cc.cmu.edu!micro-heart-of-gold.mit.edu!bloom-beacon.mit.edu!bloom-beacon.mit.edu!panix!gordon From: John Gordon Newsgroups: comp.lang.python Subject: Re: Problem configuring apache to run python cgi on Ubuntu 14.04 Date: Mon, 21 Sep 2015 19:41:14 +0000 (UTC) Organization: PANIX Public Access Internet and UNIX, NYC Lines: 16 Message-ID: References: <44e870a7-9567-40ba-8a65-d6b52a8c5d25@googlegroups.com> NNTP-Posting-Host: panix3.panix.com X-Trace: reader1.panix.com 1442864474 29162 166.84.1.3 (21 Sep 2015 19:41:14 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Mon, 21 Sep 2015 19:41:14 +0000 (UTC) User-Agent: nn/6.7.3 Xref: csiph.com comp.lang.python:96959 In <44e870a7-9567-40ba-8a65-d6b52a8c5d25@googlegroups.com> tropical.dude.net@gmail.com writes: > print("Content-Type: text/html;charset=utf-8") > print("Hello World!") As I recall, you must have a blank line between the headers and the content. But that may or may not be your problem, as you haven't told us exactly what is going wrong. -- John Gordon A is for Amy, who fell down the stairs gordon@panix.com B is for Basil, assaulted by bears -- Edward Gorey, "The Gashlycrumb Tinies"