[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

fastcgi + lighttpd ?

A2000

5/9/2005 9:36:00 PM

Hello,

How I can use fastcgi with lighttpd for ruby script ?
I have try many configure, and I have always this error :
2005-05-09 23:31:54: (fcgi.c.770) child exited (is this a FastCGI binary
?): 1


So ? How I can configure ?

Thanks,

oxman
4 Answers

Aredridel

5/9/2005 9:50:00 PM

0

On 5/9/05, oxman <no@spam.org> wrote:
> Hello,
>
> How I can use fastcgi with lighttpd for ruby script ?
> I have try many configure, and I have always this error :
> 2005-05-09 23:31:54: (fcgi.c.770) child exited (is this a FastCGI binary
> ?): 1
>
> So ? How I can configure ?
>
What sort of script is it? Is it using FastCGI protocol?



A2000

5/9/2005 10:07:00 PM

0

Aredridel wrote:
> On 5/9/05, oxman <no@spam.org> wrote:
>
>>Hello,
>>
>>How I can use fastcgi with lighttpd for ruby script ?
>>I have try many configure, and I have always this error :
>>2005-05-09 23:31:54: (fcgi.c.770) child exited (is this a FastCGI binary
>>?): 1
>>
>>So ? How I can configure ?
>>
>
> What sort of script is it? Is it using FastCGI protocol?
>
>
>
Hum ?
I want FastCGI work like PHP.

For example :

- test.fcgi -
<p>Hello <%= "oxman" %></p>

ES

5/9/2005 10:13:00 PM

0


Le 9/5/2005, "Aredridel" <aredridel@gmail.com> a écrit:
>On 5/9/05, oxman <no@spam.org> wrote:
>> Hello,
>>
>> How I can use fastcgi with lighttpd for ruby script ?
>> I have try many configure, and I have always this error :
>> 2005-05-09 23:31:54: (fcgi.c.770) child exited (is this a FastCGI binary
>> ?): 1
>>
>> So ? How I can configure ?
>>
>What sort of script is it? Is it using FastCGI protocol?

If your answer here is yes, do scripts in other languages work?

See these for help:
http://www.lighttpd.net/documentation/fa...
http://www.rubyonrails.org/show/Lighttpd+a...

E

--
template<typename duck>
void quack(duck& d) { d.quack(); }



schlu-do

5/9/2005 10:34:00 PM

0

Hi,

oxman <no@spam.org> wrote:

> I want FastCGI work like PHP.
>
> For example :
>
> - test.fcgi -
> <p>Hello <%= "oxman" %></p>

Well, that looks like 'mod_ruby' or ERB - and that's not something
special to fcgi. With fcgi you can speed up your web application, as
that takes care of handling your connections withoud the need to start a
new ruby instance with every request. So it's usually a replacement for
the built-in CGI class.


Regards,

Dominik.