Skip to main content

This documentation is for an older version of this product. See the latest version of this content.Opens in a new tab

LicenseAltHeaders

クライアント・アドレスに HTTP ヘッダの代替セットを使用します。

Synopsis

[Miscellaneous]    LicenseAltHeaders=n

n は、1 (真) または 0 (偽) のいずれかです。既定値は 0 です。

説明

InterSystems IRIS では、クライアント IP アドレスに既定で remote_addr HTTP ヘッダが使用されます。LicenseAltHeaders が真の場合、InterSystems IRIS では代わりに HTTP_FORWARDEDHTTP_X_FORWARDED_FOR、または REMOTE_ADDR の各ヘッダが使用されます (必要に応じて、指定の使用順序が適用されます)。

このパラメータの変更

管理ポータルの [互換性] ページ ([システム管理] > [構成] > [追加設定] > [互換性]) で、[LicenseAltHeaders] の行の [編集] を選択します。[LicenseAltHeaders] を選択して、この設定を有効にします。

管理ポータルを使用する代わりに、Config.MiscellanousOpens in a new tab クラス (クラス・リファレンスを参照) で、またはテキスト・エディタで CPF を編集することによって、LicenseAltHeaders を変更できます。

FeedbackOpens in a new tab