On trying to serve an html page returned from a cgi, apache complains:
[error][client 192.168.2.4] malformed header from script. Bad
If I run the cgi in the console and capture the output in a file, I can
serve up this document as a static html page. It works fine, except for
the printing of "Content-type: text/html" at the beginning of the
displayed document, as the cgi places this in here and Apache supplies
one for html documents.
Any help or ideas would be greatly appreciated.