85 pts.
 Getting Apache REMOTE_USE variable (CGIDEV2)
My RPG on iSeries program doesn't seem to get the REMOTE_USE variable when it is responding to a web call from a Reverse Proxy server (Apache/Linux/PHP). I am using getenv() function from CGIDEV2 library and it works perfectly when the call comes from within the LAN. If the call comes from the reverse proxy, function getenv() gives REMOTE_ADDR correctly, but REMOTE_USE=*blank. I tryed changing the name of the requested variable using the PHP name (PHP_AUTH_USER): no way. Has anybody overcome such a situation, possibly without switching to PHP on iSeries? Thanks

Software/Hardware used:
iSeries V5R4
ASKED: April 10, 2012  5:06 PM
UPDATED: April 10, 2012  6:33 PM

Answer Wiki:
Last Wiki Answer Submitted:  Be the first to answer this question.
All Answer Wiki Contributors:  Be the first to answer this question.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _