My Oracle Support Banner

How to Record X-REAL-IP Response Header to Oracle HTTP Server Access Log (Doc ID 2438733.1)

Last updated on SEPTEMBER 11, 2023

Applies to:

Oracle HTTP Server - Version 11.1.1.2.0 and later
Information in this document applies to any platform.

Goal

Often X-Forwarded-For header is provided by Proxy devices, however different header such as X_REAL_IP can be forwarded instead.
This note provide steps for recording X_REAL_IP header information to Oracle HTTP Server(OHS) logfile
It has been verified using printenv cgi script that X_REAL_IP is forwarded from proxy device.

printenv cgi script

 

 

 

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.