Help with HTTP Server config library list

"gio.cot via WEB400" <[email protected]> Thu, 19 Feb 2026 15:25:10 +0100
Newsgroups gmane.comp.systems.as400.web
Message-ID <[email protected]>
Hi all

 

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

 

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