until today in our Web Server config, we have insert thsese directives:
ScriptAliasMatch ^/rest/(.*) /QSYS.LIB/MYLIB.LIB/$1.PGM
<Directory /QSYS.LIB/MYLIB.LIB/>
Order allow,deny
Allow from all
SetEnv QIBM_CGI_LIBRARY_LIST "QTEMP;TESTLIB;MYLIB"
</Directory>
doing some test/debug, we have discovered that "MYLIB" is setted as *current
library and so, if we have the same program either in TESTLIB and in MYLIB,
also if SetEnv QIBM_CGI_LIBRARY_LIST has setted TESTLIB before MYLIB, the
program that run is always that in MYLIB .
questions:
1) wich is the directive that set MYLIB as *current lib ? (pheraps
ScriptAliasMatch ^/rest/(.*) /QSYS.LIB/MYLIB.LIB/$1.PGM ??)
2) as i would like continue to avoid the need for editing the Apache
configuration each time you want to
add a new API., which workaround i can put in practice ?
Thanks in advance
gio
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2026 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.