OWA_UTIL.GET_CGI_ENV API Shows Server IP Address Instead Of Client IP Address In Portal 11.1.1.4.0 and 11.1.1.5.0
(Doc ID 1359365.1)
Last updated on AUGUST 01, 2023
Applies to:
Portal - Version 11.1.1.4.0 to 11.1.1.5.0 [Release FMW11g]Information in this document applies to any platform.
Symptoms
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.
and
- 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.
Changes
Cause
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
Symptoms |
Changes |
Cause |
Solution |
References |