Problem configuring apache to run python cgi on Ubuntu 14.04
John Gordon
gordon at panix.com
Mon Sep 21 15:41:14 EDT 2015
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"
More information about the Python-list
mailing list