ClientIpByCustomHTTPHeader

Summary

To specify http header containing ip address when behind trusted proxy

Usage

ClientIpByCustomHTTPHeader=X-Forwarded-For

Description

This setting is available since eZ Publish 4.5. It is a setting to specify witch http header eZSys::clientIP() should use to try to read ip address from if behind a trusted reverse proxy. If no value is found in this http header, normal Remote Address is used.

It can be disabled by setting it to "false", other values will be used as http header name to take the ip from.

Note: This setting has nothing to do with the other [HTTPHeaderSettings] settings, it is purely used by a eZ Publish library called eZSys, so all functionality using this library will take advantage of this setting.

Examples

Default:

ClientIpByCustomHTTPHeader=false
Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2013 eZ Systems AS (except where otherwise noted). All rights reserved.