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?
April 10, 2012 5:06 PM
April 10, 2012 6:33 PM