From owner-freebsd-stable Wed Mar 14 17:38:20 2001 Delivered-To: freebsd-stable@freebsd.org Received: from web120.yahoomail.com (web120.mail.yahoo.com [205.180.60.121]) by hub.freebsd.org (Postfix) with SMTP id C25A537B718 for ; Wed, 14 Mar 2001 17:38:16 -0800 (PST) (envelope-from samwun@yahoo.com) Received: (qmail 5386 invoked by uid 60001); 15 Mar 2001 01:38:16 -0000 Message-ID: <20010315013816.5385.qmail@web120.yahoomail.com> Received: from [203.25.253.65] by web120.yahoomail.com; Wed, 14 Mar 2001 17:38:16 PST Date: Wed, 14 Mar 2001 17:38:16 -0800 (PST) From: Sam Wun Subject: Re: apache show "Exec format error" To: Gordon Tetlow Cc: Mike Smith , Pete French , stable@FreeBSD.ORG In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, where do you thinkn I should add this in? I have the following script invoke the .css file: Thanks sam --- Gordon Tetlow wrote: > When a response is given from a cgi, it must start > with: > > 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? > __________________________________________________ Do You Yahoo!? Yahoo! Auctions - Buy the things you want at great prices. http://auctions.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message