Nathan,

Try this:

SetEnv QIBM_CGI_LIBRARY_LIST "SMTP;ASCLIB;NALCUSTOM;CCSDTA;" 
SetEnv CLASSPATH 
.:/QIBM/UserData/Java400/ext/:/QIBM/ProdData/HTTP/Public/jt400/lib/:/QIBM/ProdData/Public/jt400/:/home/scessna/jt400.jar:/QIBM/UserData/Java400/ext/oracle.jar
 

SetEnv QIBM_USE_DESCRIPTOR_STDIO Y 
SetEnv QIBM_RPG_JAVA_EXCP_TRACE Y 
SetEnv QIBM_RPG_JAVA_PROPERTIES 
-Dos400.stderr=file:/home/scessna/stderr.txt;-Dos400.stdout=file:/home/scessna/stdout.txt;
 

SetEnv JAVA_HOME /QIBM/ProdData/Java400/jdk14/ 
SetEnv JRE_HOME /QIBM/ProdData/Java400/jdk14/ 

Shane




Nathan Andelin <nandelin@xxxxxxxxx> 
Sent by: web400-bounces@xxxxxxxxxxxx
02/21/2007 12:46 PM
Please respond to
Web Enabling the AS400 / iSeries <web400@xxxxxxxxxxxx>


To
Web Enabling the AS400 / iSeries <web400@xxxxxxxxxxxx>
cc

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

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.