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

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.