Aleksandar Lazic
May 02, 2016 08:36AM
Hi.

Am 02-05-2016 10:55, schrieb mayak:
> 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.

please take a look into this.

http://uwsgi.readthedocs.io/en/latest/CGI.html?highlight=Nginx

As Edho written nginx does not execute anything by default.

What I'm wondering why the first hit shows a possible solution, does
this solution does not work for you?

https://startpage.com/do/search?q=nginx+cgi+run

Cheers Aleks

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

binary cgi script download instead of executing

mayak May 02, 2016 04:56AM

Re: binary cgi script download instead of executing

Edho Arief May 02, 2016 05:00AM

Re: binary cgi script download instead of executing

Aleksandar Lazic May 02, 2016 08:36AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 297
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready