FCGI Perl

Johnny Fox Ucklenberg lists at ruby-forum.com
Sat Oct 17 22:14:07 MSD 2009


My old cgiwrap-fcgi.pl, more heavy(with additional dependencies) 
http://pastebin.com/f3cdd5ecc
Alternative binary wrapper, dont know how to use, i suppose it opens new 
port http://github.com/gnosek/fcgiwrap

With new wrapper script & some modification of nginx.conf i ve got

>The page you are looking for is temporarily unavailable.
>Please try again later. 

This message is shown the wrapper is running whether or not.

nginx error log says:

>2009/10/18 01:50:42 [error] 3172#0: *1 FastCGI sent in stderr: "Undefined subroutine &main::SYS_dup2 called at /nginx/cgiwrap-fcgi.pl line 88" while reading response header from upstream, client: 127.0.0.1, server: theycrawl, request: "GET /test.pl HTTP/1.1", upstream: "fastcgi://unix:/nginx/fcgi/perl_cgi-dispatch.sock:", host: "theycrawl"
>2009/10/18 01:50:42 [error] 3172#0: *1 upstream closed prematurely FastCGI stdout while reading response header from upstream, client: 127.0.0.1, server: theycrawl-pc.swamp.ru, request: "GET /test.pl HTTP/1.1", upstream: "fastcgi://unix:/nginx/fcgi/perl_cgi-dispatch.sock:", host: "theycrawl"\
-- 
Posted via http://www.ruby-forum.com/.





More information about the nginx mailing list