Welcome! Log In Create A New Profile

Advanced

Re: FCGI Perl

Johnny fox Ucklenberg
October 17, 2009 11:54AM
>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:
>--prefix=/nginx
>--sbin-path=/nginx/nginx
>--conf-path=/nginx/conf/nginx.conf
>--error-log-path=/nginx/log/nginx-error.log
>--pid-path=/nginx/nginx.pid
>--lock-path=/nginx/nginx.lock
>--user=nobody >--group=nobody

>--with-http_ssl_module
>--with-http_realip_module
>--with-http_flv_module
>--with-http_gzip_static_module
>--with-http_random_index_module
>--with-http_secure_link_module
>--with-http_stub_status_module

>--with-perl_modules_path=/nginx/mod
>--with-perl=/usr/bin/perl

>--http-log-path=/nginx/log/nginx-access.log

>--http-client-body-temp-path=/nginx/tmp/client
>--http-proxy-temp-path=/nginx/tmp/proxy
>--http-fastcgi-temp-path=/nginx/tmp/fastcgi

>--without-mail_pop3_module
>--without-mail_imap_module
>--without-mail_smtp_module

>--with-cpu-opt=pentium4
>--with-md5-asm
>--with-sha1-asm
>--with-zlib-asm=pentiumpro

Also i installed fcgi, perl, perl-fcgi and procmanager packages. I
generated syscall.pm:

>cd /usr/include
>h2pm -r -l syscall.h

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

>[root@theycrawl ~]# /nginx/cgiwrap-fcgi.pl
>FastCGI: manager (pid 5284): initialized
>FastCGI: manager (pid 5284): server (pid 5285) started
>FastCGI: server (pid 5285): initialized
>FastCGI: server (pid 5286): initialized
>FastCGI: manager (pid 5284): server (pid 5286) started
>FastCGI: manager (pid 5284): server (pid 5287) started
>FastCGI: server (pid 5287): initialized
>FastCGI: server (pid 5288): initialized
>FastCGI: manager (pid 5284): server (pid 5288) started
>FastCGI: server (pid 5289): initialized
>FastCGI: manager (pid 5284): server (pid 5289) started

What i need to add to nginx.conf?
In which order i must run nginx and other stuff?

PS also i've got gnosek-fcgiwrap, may be its better to use it?
--
Posted via http://www.ruby-forum.com/.
Subject Author Posted

FCGI Perl

Gordon Pettey October 02, 2009 05:52PM

Re: FCGI Perl

Cliff Wells October 02, 2009 06:06PM

Re: FCGI Perl

Gordon Pettey October 02, 2009 07:58PM

Re: FCGI Perl

mike October 02, 2009 08:12PM

Re: FCGI Perl

Gordon Pettey October 03, 2009 12:42PM

Re: FCGI Perl

davidc October 05, 2009 05:25AM

$request_body bug?

dennisjanuary October 05, 2009 07:16AM

Re: FCGI Perl

Johnny fox Ucklenberg October 16, 2009 07:04PM

Re: FCGI Perl

Aleksandar Lazic October 16, 2009 07:14PM

Re: FCGI Perl

Kiswono Prayogo October 17, 2009 04:26AM

Re: FCGI Perl

Cliff Wells October 17, 2009 05:32AM

Re: FCGI Perl

Aleksandar Lazic October 17, 2009 06:50AM

Re: FCGI Perl

Johnny fox Ucklenberg October 17, 2009 11:54AM

Re: FCGI Perl

Aleksandar Lazic October 17, 2009 12:16PM

Re: FCGI Perl

Johnny Fox Ucklenberg October 17, 2009 02:20PM

Re: FCGI Perl

Aleksandar Lazic October 17, 2009 04:44PM

Re: FCGI Perl

Johnny Fox Ucklenberg October 17, 2009 06:22PM

Re: $request_body bug?

agentzh October 22, 2009 04:02AM

Re: $request_body bug?

agentzh October 22, 2009 09:50PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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