What you spotted where ways to run a Gnoga app as a cgi app perhaps.
Gnoga’s webserver doesn’t serve out (nor would that be a safe and good
idea) cgi apps.
Two possible solutions.
1. Run a regular webserver like Apache and have it serve out your Gnoga app
and also the cgi app (all my production Gnoga apps are behind an Apache
sever.)
2. Have the Gnoga app execute the cgi app and return the results back on
its page. You would need to setup any cgi environment variables that app
uses but otherwise just execute and return the stdout.
David Botton
On Tue, Feb 27, 2018 at 1:26 AM Gautier de Montmollin <[email protected]>
wrote:
> [Just a resend as the mailing list seems to be alive again...]
>
> Hello,
> I have a trivial CGI-Bin app (just outputting a randomized web page to
> standard output [1]) and would like to host it on a Gnoga server (with
> unrelated contents... [2]).
> I have spotted occurrences of CGI-Bin stuff in the Gnoga code but have
> no clue about how to glue all that together.
> Logically, either it has to be in the Gnoga executable, or it can live
> as a separate executable.
> TIA
> Gautier
> ___
> [1] The Corporate Bullshit Generator,
> https://sourceforge.net/projects/cbsg/
> [2] Pasta, http://pasta.phyrama.com/
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Gnoga-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/gnoga-list
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gnoga-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gnoga-list