www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - DFastCGI

reply bioinfornatics <bioinfornatics fedoraproject.rog> writes:
dear, i started to interface fastcgi to D
https://github.com/bioinfornatics/DFastCGI

They are a Readme and some example for quick start

at this time take example from examples/test3_fcgiapp.d

Any help are welcome


Thanks
Nov 22 2011
next sibling parent Dejan Lekic <dejan.lekic gmail.com> writes:
Good news! This should be a part of the Deimos organisation. :)
Also, the post should be in the D.announce newsgroup. :)

Well-done!
Nov 22 2011
prev sibling next sibling parent Kai Meyer <kai unixlords.com> writes:
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

On 11/22/2011 07:26 AM, bioinfornatics wrote:
 dear, i started to interface fastcgi to D
 https://github.com/bioinfornatics/DFastCGI

 They are a Readme and some example for quick start

 at this time take example from examples/test3_fcgiapp.d

 Any help are welcome


 Thanks

I don't see a test3_fcgiapp.d, but I've tested the test_fcgiapp on CentOS 6 with dmd (the Fedora rpm works great). Once I fixed the build script to work properly on my machine, everything else worked out of the box. I installed fastcgi fresh on my server just to test this, no extra config required. I'm not very good with github, or I would have forked, and submitted a pull request.
Nov 22 2011
prev sibling next sibling parent bioinfornatics <bioinfornatics fedoraproject.rog> writes:
Le mardi 22 novembre 2011 =C3=A0 13:30 -0700, Kai Meyer a =C3=A9crit :
 On 11/22/2011 07:26 AM, bioinfornatics wrote:
 dear, i started to interface fastcgi to D
 https://github.com/bioinfornatics/DFastCGI

 They are a Readme and some example for quick start

 at this time take example from examples/test3_fcgiapp.d

 Any help are welcome


 Thanks

I don't see a test3_fcgiapp.d, but I've tested the test_fcgiapp on CentOS 6 with dmd (the Fedora rpm works great). =20 Once I fixed the build script to work properly on my machine, everything=

 else worked out of the box. I installed fastcgi fresh on my server just=

 to test this, no extra config required.
=20
 I'm not very good with github, or I would have forked, and submitted a=

 pull request.

Thanks i will fix it
Nov 23 2011
prev sibling next sibling parent mta`chrono <chrono mta-international.net> writes:
IIRC there are two version of fastcgi / fgci ? The one is using stdin,
stdout for communication and the application is running as a child of
the webserver. And the other is running as a standalone application
using unix sockets for communcation. Is DFastCGI able to handle both?
Nov 23 2011
prev sibling parent bioinfornatics <bioinfornatics fedoraproject.rog> writes:
Le mercredi 23 novembre 2011 =C3=A0 21:40 +0100, mta`chrono a =C3=A9crit :
 IIRC there are two version of fastcgi / fgci ? The one is using stdin,
 stdout for communication and the application is running as a child of
 the webserver. And the other is running as a standalone application
 using unix sockets for communcation. Is DFastCGI able to handle both?

You can use both directly with fastcgi.c.fcgiapp the highter level do not works yet
Nov 23 2011