From owner-freebsd-stable Wed Mar 14 11:15:50 2001 Delivered-To: freebsd-stable@freebsd.org Received: from sdmail0.sd.bmarts.com (sdmail0.sd.bmarts.com [209.247.77.155]) by hub.freebsd.org (Postfix) with ESMTP id 0D34D37B727; Wed, 14 Mar 2001 11:15:44 -0800 (PST) (envelope-from gordont@bluemtn.net) Received: from localhost (gordont@localhost) by sdmail0.sd.bmarts.com (8.11.3/8.11.2/BMA1.1) with ESMTP id f2EJ5hx27324; Wed, 14 Mar 2001 11:05:43 -0800 (PST) Date: Wed, 14 Mar 2001 11:05:43 -0800 (PST) From: Gordon Tetlow X-X-Sender: To: sam wun Cc: Mike Smith , Pete French , Subject: Re: apache show "Exec format error" In-Reply-To: <3AAF52F2.A03C274F@yahoo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message