[erlang-questions] Serve PHP/Python scripts behind Erlang

Nuku Ameyibor nayibor@REDACTED
Mon Mar 13 19:53:29 CET 2017


Yaws web server also has this . 
http://yaws.hyber.org/cgi.yaws . 

-----Original Message-----
From: "Frank Muller" <frank.muller.erl@REDACTED>
Sent: ‎3/‎13/‎2017 5:47 PM
To: "Erlang-Questions Questions" <erlang-questions@REDACTED>; "Loïc Hoguin" <essen@REDACTED>
Subject: Re: [erlang-questions] Serve PHP/Python scripts behind Erlang

Thanks Loïc, that was the first lib I found. But it seems to be outdated. 


I'll will dig into the FastCGI spec soon.


Anyone else?


/Frank


<essen@REDACTED> 

The typical setup uses fastcgi: https://en.wikipedia.org/wiki/FastCGI

There was an early attempt by Anthony at
https://github.com/extend/ex_fcgi - not sure how much of it still works,
but probably worth salvaging.

On 03/13/2017 06:09 PM, Frank Muller wrote:
> Hi guys
>
> What’s the most efficient way to run PHP (Python) scripts behind Erlang?
>
> I would like to receive HTTP requests in Cowboy and forward them to a
> PHP/Python backend.
>
> Get the response back from the backend and forward it to the client.
>
> Thanks in advance.
> /Frank
>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>

--
Loïc Hoguin
https://ninenines.eu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20170313/04cd5bd5/attachment.htm>


More information about the erlang-questions mailing list