Skip to main content

LicenseAltHeaders

Use an alternative set of HTTP headers for client addresses.

Synopsis

[Miscellaneous]    LicenseAltHeaders=n

n is either 1 (true) or 0 (false). The default value is 0.

Description

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.Miscellanous class (as described in the class reference) or by editing the CPF with a text editor.

Feedback