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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux