From owner-freebsd-stable Wed Mar 14 7:10:24 2001 Delivered-To: freebsd-stable@freebsd.org Received: from cc762335-a.ebnsk1.nj.home.com (cc762335-a.ebnsk1.nj.home.com [24.3.219.36]) by hub.freebsd.org (Postfix) with SMTP id 0252937B71B for ; Wed, 14 Mar 2001 07:10:15 -0800 (PST) (envelope-from damascus@home.com) Received: (qmail 72064 invoked from network); 14 Mar 2001 15:10:24 -0000 Received: from athena.faerunhome.com (HELO athena) (192.168.0.2) by cc762335-a.ebnsk1.nj.home.com with SMTP; 14 Mar 2001 15:10:24 -0000 Message-Id: <4.2.2.20010314100604.00c862e0@netmail.home.com> X-Sender: damascus@netmail.home.com X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.2 Date: Wed, 14 Mar 2001 10:07:37 -0500 To: sam wun From: Carroll Kong Subject: Re: apache show "Exec format error" Cc: stable@FreeBSD.ORG In-Reply-To: <3AAF52F2.A03C274F@yahoo.com> References: <200103141113.f2EBDNn04877@mass.dis.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 10:16 PM 3/14/01 +1100, sam wun wrote: >Hi, > >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? > >Thanks >Sam Sounds like /cgi-bin/ is set as a CGI Executable directory mapped to /usr/local/cgi-bin/, so it is trying to somehow execute a .css file which is normally some cascading style sheet file. .css files are like configuration files for html files IIRC. So that .css file should not be there but should be in the html root somewhere like /usr/local/htdocs/ -Carroll Kong To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message