As far as I know you cannot set these values in a CGI program in order to influence what Apache does. I am 99.9% certain of that. You set them permanently in the config file for your Apache server instance. Obviously you can retrieve the current values in a CGI program in the same way that you can retrieve any environment variable.
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Steve Richter
Sent: 10 September 2012 15:42
To: Web Enabling the AS400 / iSeries
Subject: [WEB400] how to set/retrieve CGIConvMode environment variable?
where do I find the environment variables CGIConvMode, cgi_ascii_ccsid, cgi_ebdic_ccsid?
Is there an api used to set them on a web session basis? That is by a CGI program where setting a value only affects the actions of that cgi program?
I have looked in /qibm/ProdData/HTTPA/conf/httpd.conf
also used WRKENVVAR command.
thanks,
--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list To post a message email: WEB400@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/web400.
NOTICE: The information in this electronic mail transmission is intended by CoralTree Systems Ltd for the use of the named individuals or entity to which it is directed and may contain information that is privileged or otherwise confidential. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email or by telephone, so that the sender's address records can be corrected.
--------------------------------------------------------------------------------
CoralTree Systems Limited
25 Barnes Wallis Road
Segensworth East, Fareham
PO15 5TT
Company Registration Number 5021022.
Registered Office:
12-14 Carlton Place
Southampton, UK
SO15 2EA
VAT Registration Number 834 1020 74.
As an Amazon Associate we earn from qualifying purchases.