Problem configuring apache to run python cgi on Ubuntu 14.04

tropical.dude.net at gmail.com tropical.dude.net at gmail.com
Mon Sep 21 21:47:20 CEST 2015


On Monday, September 21, 2015 at 9:41:29 PM UTC+2, John Gordon wrote:
> In <44e870a7-9567-40ba-8a65-d6b52a8c5d25 at googlegroups.com> tropical.dude.net at 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 at panix.com              B is for Basil, assaulted by bears
>                                 -- Edward Gorey, "The Gashlycrumb Tinies"

I am new to Ubuntu, is there a command so I can find out what the problem is?


More information about the Python-list mailing list