× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I manipulate the library list inside my application using some ILE
functions I wrote a long time agot (pushLib and popLib mainly.. I also have
ones that set the LL depending on a job description).

I've always found that to be the best way, at least for me.

On Wed, Nov 3, 2021 at 4:43 AM Dave <dfx1@xxxxxxxxxxxxxx> wrote:

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: WEB400@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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.