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



Got it working.  I wasn't passing a correct buffer length parameter on the 
QtmhGetEnv() call.



----- Original Message ----
From: Nathan Andelin <nandelin@xxxxxxxxx>
To: Web Enabling the AS400 / iSeries <web400@xxxxxxxxxxxx>
Sent: Wednesday, February 21, 2007 11:20:35 AM
Subject: [WEB400] How to use the Apache SetEnv Directive?

There was a thread earlier this week that mentioned the possibility using the 
SetEnv configuration directive to set an environment variable value that could 
be passed to CGI programs, and I wanted to give it a try, but so far I haven't 
been able to retrieve the variable value by using the QtmhGetEnv() procedure.  
The value comes back empty.

Does anyone have an example of using SetEnv?

Thanks,

Nathan M. Andelin





 
____________________________________________________________________________________
Any questions? Get answers on any topic at www.Answers.yahoo.com.  Try it now.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.