Portals (MOSC)

MOSC Banner

Obtaining IP address behind F5

edited Jul 9, 2014 5:00AM in Portals (MOSC) 1 commentAnswered

Using Webcenter Portal and trying to call an EL expression to obtain IP of local machine. We sit behind an F5 appliance and IP that comes up is F5 IP. Attempted to update iRule on F5:

when
HTTP_REQUEST {

    HTTP::header insert WL-Proxy-Client-IP [IP::remote_addr]

}

This caused an issue with Weblogic starting up.

The EL I am using: #{facesContext.externalContext.request.remoteAddr}

Does not seem to take parameters, since I would like to call: request.getHeader("X-Forwarded-For")

Anyone have any information related to that?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center