× 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've not done this using the Apache server, but normally I will have a
routine that's called first in each web application that sets up the
library list for the specific program itself.

Because the program could be running in test, development, production, for
another company/division, etc I set the library list before doing anything
in the program.

A combination of using the server's port and/or using environment variables
set for each server (you do run different servers for test, production,
development, etc.. right?) is all that's needed to set the library list
each time a web program is called.

I want the code to be the same, but the library list different depending on
a few variables.

I wouldn't want every job to have the same library list all the time. But,
I'm not saying that someone wouldn't want to do that either. :) But
remember web jobs are not like interactive jobs in that they're not
persistent (for the most part). Each request coming in could be to any job
that's running, or even start a new job.

Brad
www.bvstools.com

On Thu, Sep 24, 2015 at 11:26 AM, gio.cot <gio.cot@xxxxxxxxxxx> wrote:

I all



I'm looking for an example, how to code inside my httpd.conf's server the
code to call a CLLE program that setup library list, instead to use
"SetEnv QIBM_CGI_LIBRARY_LIST"



Thanks

--
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: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.