Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 May 1999 10:26:54 -0400
From:      Vince Gonzalez <vince@nycrc.net>
To:        Donald Wilde <dwilde1@thuntek.net>
Cc:        questions@freebsd.org
Subject:   Re: Apache chokes on compiled CGI?
Message-ID:  <19990515102653.B2719@moe.nycrc.net>
In-Reply-To: <373D76C2.C12916E5@thuntek.net>; from Donald Wilde on Sat, May 15, 1999 at 07:29:38AM -0600
References:  <373D76C2.C12916E5@thuntek.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, May 15, 1999 at 07:29:38AM -0600, Donald Wilde wrote:
> I just got back to work on my C++ CGI, and now, when I execute programs
> that _did_ work before, they die. I just CVSup'd to the latest
> 3.1-STABLE, which now ID's itself as 3.2-RELEASE, and my Apache is 1.3.6
> as compiled from the Ports. I had been working with 3.1S (#8), but it's
> still there.
> 
> What I get is a straight text output that is mostly garbage that looks
> like binary, but always begins with the word ELF. The program runs
> successfully from the command line, but chokes in Apache when invoked as
> CGI.
> 
> I'm going to redo the Apache port from sources, but I thought I'd put
> this out there while I do so in case somebody else has seen it.

Sounds like apache is dumping the actual binary instead of executing it.
Maybe your apache conf got nuked?  It sounds like you need to fix your
ScriptAlias in httpd.conf.  

--vince


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990515102653.B2719>