Well here's another way to dump all the environment variables.
Call this one line CLP during your request -
PGM
qsh cmd(set)
ENDPGM
This will dump them all to STDOUT so they will end up somewhere in your
response page. (As there will be no <br> between lines then right-click
view source will be more readable with linefeeds)
Peter
-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]
On Behalf Of Wayne McAlpine
Sent: Saturday, 21 March 2009 15:11
To: web400@xxxxxxxxxxxx
Subject: Re: [WEB400] Environment Variables
Peter, I'm doing this in the same main CGI program that retrieves other
environment variables, so I know that the mechanism works.
I'm starting to wonder if there is an Apache configuration directive
that may be missing to allow REMOTE_USER to be populated by the
validation list value. Here is what I have in httpd.conf:
Require valid-user
ServerUserID QTMHHTTP
PasswdFile ICFLIB/UCCWEB
AuthType Basic
AuthName "Louisiana Secreta
SSLRequireSSL
SetEnv HTTPS_PORT 4430
Options +ExecCGI
Peter Connell wrote:
If you are not retrieving it then you must have an issue with
the mechanism you are using to retrieve it. It's there for all to
retrieve.