Hi,

> On 05.10.2010 14:58, Dario Trussardi wrote:
>> Hi,
>> 
>>      i have a Lighttpd server with FastCGI support for deployment system ( 
>> based on GLASS ).
>> 
>>      Now i'm interested to work  with the same web server for development 
>> system based on Pharo.
>> 
>>      For now in  Pharo i use the WAKom interface.
>> 
>>      I can load the FastCGI support into Pharo ?
> 
> Loading the the GemStone FastCGI package is unlikely to work. You can
> try to load the Squeak FastCGI package [1] but that seems to have some
> underscore assignments.
> 
> [1] http://www.squeaksource.com/FCGI.html


I load [ 1] in the Pharo image.

I change the PositionableStream uint24 method to:

        uint24
        "Answer the next unsigned, 24-bit integer from this (binary) stream."

        | n |
        n := self uint8. "self next." 
        n := (n bitShift: 8) + self uint8. "self next." 
        n := (n bitShift: 8) + self uint8. "self next." 
        ^ n
 
After do                WAFCGI startOn: 8080      the web  request answer :

        Squeak/FCGI is running

                No handler set.


How i can register the FCGI handler ?

I d'ont find example about it.

Thank for any consideration.

        Dario

Reply via email to