Thanks for this Brad. I've been looking at your example of a simple .config
file. How are you accomplishing the setting up of the library list for the
programs on the i?
For the moment I've just hard coded a CHGLIBL command in the beginning of
the program named in the script alias. I was thinking of making this
dynamic by getting a named library list depending on the server instance
being used (I'm assuming the job name is always the same as the name of the
server instance). For example,
CALL LIBL_PGM(&name) /* Does a CHGLIBL depending on the name of the job.
- *Subject*: Re: HTTP Server test environment for RPG
- *From*: Brad Stone <bvstone@xxxxxxxxx>
- *Date*: Fri, 8 Oct 2021 07:45:00 -0500
I like to make a separate instance for testing and live. Either on a
different port or a different IP address (using a different
So there would be:
dev.mysite.com (dev/test) or (mysite.com:8433)
Each with their own instance, ip address, library and IFS files.
On Fri, Oct 8, 2021 at 3:56 AM Dave <dfx1@xxxxxxxxxxxxxx> wrote:
I need to configure the server so that that the external party can commence
I've seen examples where a ScriptAlias is simply added to the server
configuration in order to simply call the test program (change library
It's also been suggested to use activation groups but that would need a lot
more work to make sure everything is running only in that activation group.
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
To post a message email: WEB400@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: WEB400-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.