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



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.


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.