FCGI Perl

Aleksandar Lazic al-nginx at none.at
Sat Oct 17 20:11:17 MSD 2009


On Sam 17.10.2009 17:49, Johnny fox Ucklenberg wrote:
>>What is unclear on
>>http://wiki.nginx.org/NginxSimpleCGI
>
>Of course, i read wiki. Its unclear how to modify nginx.conf
>
>I need to run wakaba(imageboard script) on my nginx which was written in 
>perl.
>
>I've got nginx/0.7.62:

[snipp]

>cgiwrap-fcgi.pl is located in /nginx (do i need to modify
>it(path-to-socket, line 35)?)

Do you have used this one:

http://trac.aumi.ru/hanataba/browser/nginx/cgiwrap-fcgi.pl

Then you have adopted it a little bit right ;-O

>>[root at theycrawl ~]# /nginx/cgiwrap-fcgi.pl 
>>FastCGI: manager (pid 5284): initialized

[snipp]

>What i need to add to nginx.conf?

http://trac.aumi.ru/hanataba/browser/nginx/nginx_chan.conf

The key is:

fastcgi_pass	unix:/var/run/nginx/perl_cgi-dispatch.sock;

The rest is descibed in:

http://wiki.nginx.org/NginxHttpFcgiModule

Hth

Aleks





More information about the nginx mailing list