Well it could be a couple of things wrong.  Are cgi scripts allowed to
execute in the directory?? and are you prinint a header in your script ex:
Content-Type: text/html\n\n   ??

Regards,
   Gavin ([EMAIL PROTECTED])
********************************************************************
      ENTER.NET - "The Road to the Internet Starts Here!" (tm)
  (610) 437-2221 * http://www.enter.net/ * email:[EMAIL PROTECTED]
********************************************************************


On Mon, 3 May 1999, Seb wrote:

> Hi all!
> 
>     I'm running a Mandrake 6.0 server with Apache 1.3.6 and i made a c
> program which return an html document on stdout named test.cgi an d located
> in /home/httpd/html/seb/c . When apache try to read it he return me an
> Internal Server Error and in the log file it is malformed header for script.
> Bad header=<DOCTYPE.....
> 
> What's that ?
> 
> 

Reply via email to