My Oracle Support Banner

How To Log The X-Forwarded-For HTTP Header Content In the Oracle iPlanet Web Server Access Log (Doc ID 1403073.1)

Last updated on APRIL 06, 2023

Applies to:

Oracle iPlanet Web Server - Version 6.1 to 7.0 [Release 6.1 to 7.0]
Information in this document applies to any platform.

Goal

The X-Forwarded-For HTTP header contains the originating IP address of a client connecting to a web server through a load balancer(or an HTTP proxy),  since the load balancer acts as a proxy and thus all requests look like they are coming from the load balancer. So the default logging of the web server will log the load balancer's IP not the real client IP in the log. How can the logging be customized to log  the X-Forward-For header that contains the original client IP address?

Solution

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
Goal
Solution


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