For development/testing and live, I use different HTTP server instaces on
different ports for each. The configs are identical except for:

1. The port... live is 80 or 443, and development/test is 8080 or 8443.
2. The scriptalias points to the appropriate CGI library
3. The Directory containers that allow access to the CGI libs

Then all we do is reference a different port for testing vs live. It
really makes things simpler and easier instead of trying to hack through an
Apache config.

I tend not to try and rely and library lists unless it's for data files
(ie, manipulating the library list at run time to access different files in
different libraries).

Bradley V. Stone
www.bvstools.com
GreenTools for PayPal <https://www.bvstools.com/g4pp.html>: Easily send
PayPal invoices from your IBM i applications using RPG ILE! Process
refunds, get account balances and more!

On Mon, Oct 8, 2018 at 9:44 AM Steinmetz, Paul <PSteinmetz@xxxxxxxxxx>
wrote:

We have several HTTP instances calling various RPGLE pgms AAA from library
BBB via ScriptAlias, see below.
ScriptAlias /ptm /qsys.lib/bbb.lib/aaa.pgm.

We use a “NEW” or “N” library to install changes for our applications.
BBBN is included in all jobd/library lists for the applications.

We have an updated version of program AAA that is installed in library
BBBN.
The problem is that the HTTP instance does not see the new program in
library BBBN.

After much research, and PMR with IBM, There is no method to reference a
program in a different library, BBBN.

ScriptAlias points to a specific library/directory/program... It does not
function to pick up objects from multiple locations like a library list.
You either need a new script alias or to overlay the original program (as
specified in the script alias)
​There is no other directive which would allow you to pick up programs
from multiple locations.

Solutions given, but not preferred,
1) Reconfigure the HTTP instance ScriptAlias - ScriptAlias /ptm
/qsys.lib/bbbn.lib/aaa.pgm
2) Replace the aaa program with the new version aaa program, NOT using the
bbbn library.

How are others in the group handling HTTP instance configurations when a
new program has to be deployed, to a n library.

Thank You
_____
Paul Steinmetz
IBM i Systems Administrator

Pencor Services, Inc.
462 Delaware Ave
Palmerton Pa 18071

610-826-9117 work
610-826-9188 fax
610-349-0913 cell
610-377-6012 home

psteinmetz@xxxxxxxxxx<mailto:psteinmetz@xxxxxxxxxx>
http://www.pencor.com/

--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
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.