× 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.



They should be in the HTTP server documentation in the InfoCenter. I
have no idea if they are called out or not.

Matt

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]
On Behalf Of Mike Cunningham
Sent: Friday, June 08, 2007 12:15 PM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] Library list control and net.data and RPG CGI apps

Scott, where do you pick up these little tidbits of things IBM did to
extend the Apache web server on iSeries? I would like to read up on
them to see if there is anything else that might help me out that I
didn't know existed. I have lots of books on Apache but IBM extensions
would not be in those. Is there a redbook on these extensions?

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]
On Behalf Of Scott Klement
Sent: Thursday, June 07, 2007 7:53 PM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] Library list control and net.data and RPG CGI apps

Hello Nathan,

I thought the SetEnv directive would create an environment variable
that the CGI program could reference, and then possibly run code to
change the job's library list at runtime.

You're right that SetEnv is used to set an environment variable.
However, it's Apache (or, specifically, the i5/OS version of Apache)
that sets the library list.

You do not have to code anything relating to this in your CGI program,
it's done for you by the HTTP server.

But are you saying that the HTTP server uses that directive to
automatically set the job's library list, when a program in
/cgi-test/ewo is called?

Actually, in Shane's example, he used /cgi-test/ewo*, the * is a
wildcard, so any program name in /cgi-test that starts with "ewo" would
get the library list.

But, yes, it's done for you automatically...

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.