× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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          
</Directory>                    

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:
Booth.

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
www.bvstools.com
MAILTOOL Benefit #6<https://www.bvstools.com/mailtool.html>: 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 --

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2024 by midrange.com 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].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.