OWA_UTIL.GET_CGI_ENV API Shows Server IP Address Instead Of Client IP Address In Portal 126.96.36.199.0 and 188.8.131.52.0
Last updated on JUNE 29, 2017
Applies to:Portal - Version 184.108.40.206.0 to 220.127.116.11.0 [Release FMW11g]
Information in this document applies to any platform.
***Checked for relevance on 22-Apr-2013***
In Portal 11g, the OWA_UTIL.GET_CGI_ENV API (used in custom portlets) does not return the correct value.
In previous versions of Portal (9.0.2.x, 9.0.4.x, 10.1.x), this API returned the client IP address.
In Portal 11.1.1.x versions, it returns the Server IP address. This is not the desired behaviour.
This problem is seen even with the following settings correctly configured:
- UseWebCacheIp on' parameter is set in the httpd.conf file.
- The WeblogicPluginEnabled parameter is set for the WLS_Portal managed server
In addition, this error is seen on startup of the Oracle HTTP Server:
not included in the server configuration
Please note, this problem occurs in a new Portal 11g installation only. It does not occur in an environment that has been upgraded from Portal 10g.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms