Hi Bertrand,

>From what I have seen of spawn-fcgi you just have to pass the path to
wsapi.fcgi to it, after the --, like so

/usr/bin/spawn-fcgi -s /var/run/lighttpd/yourphpsocketname.sock -u
fastcgi-user -U webserver-user -- /usr/local/bin/wsapi.fcgi

Of course you can also pass the main script of your web application
directly (if it has #!/usr/bin/env wsapi.fcgi on the first line and is
executable), but then this socket will only service a single WSAPI
app. Using wsapi.fcgi lets a single FastCGI process multiplex several
WSAPI applications.

Please report your findings if you do try using it. I have tested
wsapi.fcgi with Lighty on Unices, but never with spawn-fcgi as
intermediary (I have never even heard about it until today).

--
Fabio Mascarenhas, Lablua
http://www.lua.inf.puc-rio.br




On Mon, Oct 12, 2009 at 2:03 PM, Bertrand Mansion <[email protected]> wrote:
> Hi,
>
> Has anyone already tried (and managed) to run wsapi applications with
> spawn-fcgi (and nginx/lighttpd eventually) ?
> Do you need wsapi.fcgi launcher in this case ? Or how do you organize
> your application files ?
> Thanks,
>
> --
> Bertrand Mansion
> Mamasam
>
> _______________________________________________
> Kepler-Project mailing list
> [email protected]
> http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
> http://www.keplerproject.org/
>

_______________________________________________
Kepler-Project mailing list
[email protected]
http://lists.luaforge.net/cgi-bin/mailman/listinfo/kepler-project
http://www.keplerproject.org/

Reply via email to