ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Help with HTTP Server config library list

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Help with HTTP Server config library list

    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

Working...
X