Step 1.

The web instance must have access to execute programs in one library.

Use an alias to make your link easier, like this

ScriptAliasMatch /web/(.*)        /QSYS.LIB/MYLIB.LIB/$1.PGM   

Give permission to use mylib

 <Directory /QSYS.LIB/MYLIB.LIB> 
   AllowOverride None           
   Require all granted          

In the browser go to:   http://myserver:myport/myprogram
On 08/27/2018 10:26 PM, Booth Martin wrote:
OK, friends, this s where I prove I am an idiot.  But it can't be
helped I guess.

I have done those 3 bullet items.  I can't make it work.

(I am doing all this because I really like doing it and it keeps my
mind active and keeps me out of the barrooms and brothels. Whether I
ever get it working isn't the point. From that angle, this is a
resounding success.  It's meeting my goal.  )

On 8/27/2018 5:01 PM, Bradley Stone wrote:

If you want simple, stick with the Apache server.  I've said this a few
times in this thread already and offered examples.

If you're using YAJL, it has a function to write the JSON to stdout.. so
it's actually VERY simple.

1.  Create a web instance
2.  Change your program to write the JSON to std out
3.  Execute the program from a browser to test.

Super simple as it sounds like you have the JSON building already done.

Bradley V. Stone
MAILTOOL Benefit #6<>: Easily send
group emails with Distribution Lists

-- Este e-mail fue enviado desde el Mail Server del diario ABC Color --
-- Verificado por Anti-Virus Corporativo Symantec --

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].