[Catalyst-dev] nginx patch to Engine::FastCGI?

Oleg Pronin syber.rus at gmail.com
Sat Nov 1 00:42:20 GMT 2008


The main difference is that nginx is 2x faster and 10x more powerful :)
i advice you to play with it ;)

2008/11/1 Ash Berlin <ash_cpan at firemirror.com>

>
> On 31 Oct 2008, at 23:42, J. Shirley wrote:
>
>  On Fri, Oct 31, 2008 at 4:26 PM, Ash Berlin <ash_cpan at firemirror.com>
>> wrote:
>>
>>>
>>> On 31 Oct 2008, at 19:52, J. Shirley wrote:
>>>
>>>
>>>> I'm not too worried about minor patches for upstream servers, as
>>>> lighttpd requires a slight tweak to work properly with Engine::FastCGI
>>>> too.
>>>>
>>>>
>>> It does? As far as I'm aware i've not patched anything in cat to get my
>>> app
>>> running under lighty with fastcgi...
>>>
>>>
>> Look at Catalyst::Engine::FastCGI:
>>       # If we're running under Lighttpd, swap PATH_INFO and SCRIPT_NAME
>>       # http://lists.rawmode.org/pipermail/catalyst/2006-June/008361.html
>>       # Thanks to Mark Blythe for this fix
>>       if ( $env{SERVER_SOFTWARE} && $env{SERVER_SOFTWARE} =3D~ /lighttpd=
/ )
>> {
>>           $env{PATH_INFO} ||=3D delete $env{SCRIPT_NAME};
>>       }
>>
>
> Ah - the difference between requires and required. As in its already in t=
he
> server, and I took your message to mean further user interaction was need=
ed.
> So yeah, looks like we need something similar for nginx. However I think =
the
> lighty solution doesn't need any special config. (I could be wrong here as
> I've not attempted non-root lighty+fcgi ever)
>
> -ash
>
>
> _______________________________________________
> Catalyst-dev mailing list
> Catalyst-dev at lists.scsys.co.uk
> http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst-dev/attachments/20081101/a=
05cd778/attachment-0001.htm


More information about the Catalyst-dev mailing list