× 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.



Do you have any ScriptAliasMatch directives to map requests to say /cgi-bin
or something else to your CGI library?

I first wouldn't put things in QGPL, and second wouldn't use the direct
path in the URL.

What you should have is:

1. A ScriptAliasMatch directive to point requests from a virtual path to
the actual library:
ScriptAliasMatch ^/cgi-bin/(.*) /qsys.lib/cgilib.lib/$1.pgm

2. A directory container to set rights, etc to the library:

<Directory /qsys.lib/cgilib.lib>
allow from all
order allow,deny
Options +ExecCGI +Includes
SetOutputFilter Includes
</Directory>

So, if you had a program named MYPGM in library CGILIB, you'd request it
with:

/cgi-bin/mypgm

Brad
www.bvstools.com

Brad
www.bvstools.com

On Mon, Dec 19, 2016 at 3:36 PM, Booth Martin <booth@xxxxxxxxxxxx> wrote:

Is this a possible solution? Could it be this simple?

xmlhttp.open("GET", "/QGPL/BMDEV/PUSHJSON", false,Booth,neatPassword);

where the SQLRPGLE *PGM is PUSHJSON in my development library BMDEV




On 12/19/2016 12:23 PM, Bill Hansen wrote:

What you want is an Ajax call, which is a commonly used technique. There
are tons of online sources, books, and my Ajax Programming course (<plug>
http://www.mantatech.com/manta/EBUS08.htm</plug).

Bill


--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.



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.