client-ip-http-header

Use this entry to specify the header which contains the client IP address.

Syntax

client-ip-http-header = <header-name>

Description

This configuration entry is used to define the name of the HTTP header which contains the IP address of the client. This IP address will be used as the client address in authorization decisions and auditing records. If no HTTP header is configured, or the configured HTTP header is missing from the HTTP request, or the contents of the HTTP header does not correspond to an IP address, the client IP address of the connection itself will be used instead.

Options

<header-name>
The name of the HTTP header which contains the client IP address.

Usage

This stanza entry is optional.

Default value

None

Example

client-ip-http-header = X-Forwarded-For