|
Peter, I was just re-reading your original post and one thing you should try is moving the lines: %DEFINE REMOTE_USER=%ENVVAR @DTW_ASSIGN(USER, REMOTE_USER) into your macro called POINFO. It seems to me like you've either created a scoping problem or REMOTE_USER isn't available when the include file is parsed. If variable USER isn't populated, you need to make sure that you're protecting the macro with a Location container and *NOT* protecting the Net.Data runtime itself (this is usually what happens when you try and use a Directory container, the other wrong way to do this with a Directory container is to protect the path to the macro itself which doesn't work at all because the Net.Data runtime reads the file, not the HTTP server). There are examples of Apache server configurations in the archives both here and at http://www.ignite400.org (I've posted working configuration to both) that show how to enable Net.Data and protect macros. Matt -----Original Message----- From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Peter Vidal Sent: Wednesday, June 08, 2005 10:29 AM To: Web Enabling the AS400 / iSeries Subject: RE: [WEB400] REMOTE_USER logic is not working... "Did you password protect the macro? Matt " How I verify the macro? Where is it so I can check it out? Peter Vidal PALL Corporation / SR Programmer Analyst, IT Development Group 10540 Ridge Rd., Ste 203, New Port Richey, FL 34654-5111 http://www.pall.com "Courage is the strength or choice to begin a change. Determination is the persistence to continue in that change." -- Anonymous --
As an Amazon Associate we earn from qualifying purchases.
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.