Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Mar 2001 11:05:43 -0800 (PST)
From:      Gordon Tetlow <gordont@bluemtn.net>
To:        sam wun <samwun@yahoo.com>
Cc:        Mike Smith <msmith@FreeBSD.ORG>, Pete French <pfrench@firstcallgroup.co.uk>, <stable@FreeBSD.ORG>
Subject:   Re: apache show "Exec format error"
Message-ID:  <Pine.BSF.4.33.0103141104290.21416-100000@sdmail0.sd.bmarts.com>
In-Reply-To: <3AAF52F2.A03C274F@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
When a response is given from a cgi, it must start with:

Content-Type: <content-type>\n\n

If it doesn't you will always get this error you are describing.

-gordon

On Wed, 14 Mar 2001, sam wun wrote:

> I know this is not an appropriate newsgropu to post this msg, but I would think
> you guys konw more about it.
> I got the following error when I tried to execue a perl program with calling
> .css file:
>
> Exec format error: exec of /usr/local/cgi-bin/store/managerstylesheet.css
> failed
> [Wed Mar 14 22:10:03 2001] [error] [client 192.168.1.1] Premature end of script
> headers:
> /usr/local/cgi-bin/store/managerstylesheet.css
>
> Does anyone know what is this all about?


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.33.0103141104290.21416-100000>