Re: HTTP Server test environment for RPG

Dave <[email protected]>
Newsgroups gmane.comp.systems.as400.web
Message-ID <CAEw=R=tm71X7N3rYcMJhQco_WEspinRA28wSZUsLyQYYWYAsig@mail.gmail.com>
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,
RTVJOBA JOB(&name)
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 host/subdomain).

So there would be:

mysite.com (live)
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:

Hello,

I need to configure the server so that that the external party can commence
testing.
I've seen examples where a ScriptAlias is simply added to the server
configuration in order to simply call the test program (change library
lists, etc).
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 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.