wcbzero / phpdesktop

Automatically exported from code.google.com/p/phpdesktop
0 stars 0 forks source link

Allow for multiple CGI interpreters - a mix of PHP/Python/Ruby/Perl scripts running in one application #27

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The inspiration behind this is the desire to have multiple CGI interpreters 
(PHP and Node in particular). 

However, since Mongoose doesn't have this ability within the same instance, 
multiple web servers opened on separate ports (With separate settings) would 
suffice.

Original issue reported on code.google.com by jboemi...@gmail.com on 4 Apr 2013 at 9:03

GoogleCodeExporter commented 9 years ago
How to spawn Node as a CGI process? Can you provide instructions? Have you 
tested if this works? Where can I download Node binaries that contain 
node-cgi.exe?

Original comment by czarek.t...@gmail.com on 21 Jan 2014 at 12:22

GoogleCodeExporter commented 9 years ago
It would be a nice feature to be able to mix multiple scripting languages to 
create a desktop application. For example by embedding both PHP and Python 
interpreters. It would be best if we could handle by running only one mongoose 
webserver, so that both php/python scripts can be executed using the same url 
http://127.0.0.1:54007/. I'm not sure if mongoose allows to specify multiple 
cgi interpreters for different file extensions. Maybe it will be required to do 
some modifications to mongoose. Running two webservers so that php is listening 
on 54007 port and python on 54008 port is also a viable option. Though if we 
could listen on just one port for both languages then it would be awesome.

Original comment by czarek.t...@gmail.com on 24 Jan 2014 at 11:22

GoogleCodeExporter commented 9 years ago

Original comment by czarek.t...@gmail.com on 24 Jan 2014 at 11:24

GoogleCodeExporter commented 9 years ago

Original comment by czarek.t...@gmail.com on 21 Oct 2014 at 10:37