From owner-freebsd-questions Fri Sep 29 14: 8:51 2000 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 77CB837B503 for ; Fri, 29 Sep 2000 14:08:45 -0700 (PDT) Received: (from dan@localhost) by dan.emsphone.com (8.9.3/8.9.3) id QAA27174; Fri, 29 Sep 2000 16:08:42 -0500 (CDT) (envelope-from dan) Date: Fri, 29 Sep 2000 16:08:42 -0500 From: Dan Nelson To: Drew Sanford Cc: questions@FreeBSD.ORG Subject: Re: CGI scripts - file type compatability Message-ID: <20000929160842.A26074@dan.emsphone.com> References: <39D4FC9D.B1D0CEE@planetwe.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.3.9i In-Reply-To: <39D4FC9D.B1D0CEE@planetwe.com>; from "Drew Sanford" on Fri Sep 29 15:33:33 GMT 2000 X-OS: FreeBSD 5.0-CURRENT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (Sep 29), Drew Sanford said: > I'm running 4.1 release with apache I moved a program over that uses > some custom CGI scripts, and the web pages for the system started > bombing left and right. When I looked in the Apache logs, there were > CGI errors of varying types everywhere. I decided I'd check the file > types on the scripts, and found > > index.cgi: sticky ELF 32-bit MSB executable, SPARC, version 1 > > Since this file was complained about more than any other, I figure it > might have something to do with the file type. Is there a way to get > this to work on FreeBSD (via something like linux compatablity) or is > this just going to have to be rewritten? We can't emulate other architectures... If it were a Solaris x86 binary you'd at least have a fighting chance, but you'll definitely have to recompile those Sparc binaries. -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message