Welcome! Log In Create A New Profile

Advanced

Re: nginx perl cgi

Peter Vandenberghe
July 13, 2014 04:16PM
Denis S. Filimonov wrote in post #645832:
> I had the same problem some time ago.
> The problem with this script is that it violates CGI specifications
> regarding
> POST requests. POSTed data must come to a CGI app from the standard
> input
> while this script parses the input and sets variables as if they came
> via a
> GET request, passing nothing to app's stdin. Thus, applications that
> follow
> specs strictly and expect POST data from stdin, fail.
>
> I've modified the script to fix the problem, feel free to use it.

Hi Denis,

Do you have an alternative solution for Windows?
Syscall and setsid is not working in Windows environments.

Regards,
Peter

--
Posted via http://www.ruby-forum.com/.

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

Re: nginx perl cgi

Peter Vandenberghe July 13, 2014 04:16PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 148
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