12 messages in ru.sysoev.nginxRe: [ANN] mod_scgi
FromSent OnAttachments
Manlio PerilloApr 16, 2008 11:34 am 
Manlio PerilloApr 16, 2008 1:27 pm 
Sean AllenApr 16, 2008 2:08 pm 
Manlio PerilloApr 17, 2008 1:58 am 
Adrian PerezMay 1, 2008 5:29 pm.patch
Cliff WellsMay 1, 2008 6:19 pm 
Adrian PerezMay 1, 2008 8:03 pm 
Manlio PerilloMay 2, 2008 12:51 am 
Fool PigMay 13, 2008 8:27 pm 
Manlio PerilloMay 14, 2008 12:52 am 
Fool PigMay 15, 2008 7:12 pm 
Fool PigMay 15, 2008 8:37 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [ANN] mod_scgiActions...
From:Adrian Perez (adri@public.gmane.org)
Date:May 1, 2008 5:29:30 pm
List:ru.sysoev.nginx
Attachments:

On Wed, 16 Apr 2008 20:34:39 +0200 Manlio Perillo <manlio_perillo-VGgt2q2+T+FeoW@public.gmane.org> wrote:

I'm pleased to announce the implementation of SCGI for Nginx.

It is available from my Mercurial repository: http://hg.mperillo.ath.cx/nginx/mod_scgi/

Pretty nice!! although I am not planning using SCGI in Nginx at the moment, I added SCGI support to my unofficial Nginx Gentoo ebuild: http://code.connectical.com/overlay/browser/contrib/www-servers/nginx

(Gentoo users may prefer to add the entire overlay instead of manually fetching the ebuild and related files, more more information look at http://code.connectical.com/overlay)

My packaging adds support for the SCGI module (USE=scgi); the WSGI module (USE=python), and my own "fancyindex" module (USE=fancyindex).

FYI, I had to remove line 1573 of ngx_http_scgi_module.c in order to build the module with Nginx 0.6.30 because there is no "location" member in the configuration sctruct (see attached patch). It *seems* to work so my guess is that removing the line does not harm when using Ningx 0.6.x

Cheers,

-Adrian

-- The Force is strong with this one. -- (Darth Vader)

diff -r b466baa5fcdb src/ngx_http_scgi_module.c --- a/src/ngx_http_scgi_module.c Wed Apr 16 20:00:58 2008 +0200 +++ b/src/ngx_http_scgi_module.c Fri May 02 01:50:05 2008 +0200 @@ -1570,7 +1570,7 @@

clcf->handler = ngx_http_scgi_handler;

- lcf->upstream.location = clcf->name; + /* lcf->upstream.location = clcf->name; */

if (clcf->name.data[clcf->name.len - 1] == '/') { clcf->auto_redirect = 1;