[CentOS] Re: Probably a bad set-up but which one?

Mon Sep 29 16:13:59 UTC 2008
Stephen Harris <lists at spuddy.org>

On Mon, Sep 29, 2008 at 12:11:32PM -0400, Tony Schreiner wrote:
> On Sep 29, 2008, at 11:32 AM, tech wrote:

> ><html>
> ><HEAD><TITLE>Tech</TITLE>
> ><META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
> ></head>
> ><body>
> ><p><!--#exec cmd="perl ./cgi-bin/hello.cgi"--></p>
> ></body>
> ></html>
> >
> >Here is the hello.cgi file:
> >
> >#!/bin/perl
> >print "Content-type: text/html\n\n";
> >print "Hello, world!\n";

> I believe your HTML file has already caused the server to emit the

Right.  The O/P is confusing his weasels.  He's writing a CGI script
but using an _include_ script.  Two totally different things.

PEBKAC.

-- 

rgds
Stephen