My Oracle Support Banner

OWA_UTIL.GET_CGI_ENV API Shows Server IP Address Instead Of Client IP Address In Portal and (Doc ID 1359365.1)

Last updated on AUGUST 01, 2023

Applies to:

Portal - Version to [Release FMW11g]
Information in this document applies to any platform.


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:

Invalid command 'UseWebCacheIp', perhaps misspelled or defined by a module
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.




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.