nginx perl cgi

Peter Vandenberghe lists at ruby-forum.com
Sun Jul 13 20:13:54 UTC 2014


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/.



More information about the nginx mailing list