binary cgi script download instead of executing

Edho Arief me at myconan.net
Mon May 2 08:58:50 UTC 2016


Hi,

On Mon, May 2, 2016, at 17:55, mayak wrote:
> hi all,
> i have simply broken my brain trying to execute a `cgi` script that
> requires no interpreter -- just execute the cgi binary with the query
> portion of the url, and it spits out html content.
> no matter what i do, i always end up with ELF> GARBAGE  -- the cgi
> script is downloading and not executing. I've googled it to death, and
> cannot find how to do this.
> thanks
> m


nginx doesn't execute anything. In your case, something like
slowcgi/thttpd is needed so nginx can talk to it.



More information about the nginx mailing list