Use an alternative set of HTTP headers for client addresses.
FeedbackOpens in a new tab
n is either 1 (true) or 0 (false). The default value is 0.
For client IP addresses, by default, InterSystems IRIS uses the remote_addr HTTP header. If LicenseAltHeaders is true, then InterSystems IRIS instead uses the following headers (as needed, in the order given): HTTP_FORWARDED, or HTTP_X_FORWARDED_FOR, or REMOTE_ADDR.
Changing This Parameter
On the Compatibility page of the Management Portal (System Administration > Configuration > Additional Settings > Compatibility), in the LicenseAltHeaders row, click Edit. Select LicenseAltHeaders to enable this setting.
Instead of using the Management Portal, you can change LicenseAltHeaders in the Config.MiscellanousOpens in a new tab class (as described in the class reference) or by editing the CPF with a text editor.