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.