ibexa

Caution: This documentation is for eZ Publish legacy, from version 3.x to 5.x.

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

André R. (05/08/2013 10:40 am)

André R. (05/08/2013 10:51 am)


Comments

There are no comments.