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
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!
Discuss This Question: