-
-
-
-
-
例12:Citrix ADCアプライアンスのクライアント要求のホスト名とURLを変更するように書き換えを構成する
-
This content has been machine translated dynamically.
Dieser Inhalt ist eine maschinelle Übersetzung, die dynamisch erstellt wurde. (Haftungsausschluss)
Cet article a été traduit automatiquement de manière dynamique. (Clause de non responsabilité)
Este artículo lo ha traducido una máquina de forma dinámica. (Aviso legal)
此内容已经过机器动态翻译。 放弃
このコンテンツは動的に機械翻訳されています。免責事項
이 콘텐츠는 동적으로 기계 번역되었습니다. 책임 부인
Este texto foi traduzido automaticamente. (Aviso legal)
Questo contenuto è stato tradotto dinamicamente con traduzione automatica.(Esclusione di responsabilità))
This article has been machine translated.
Dieser Artikel wurde maschinell übersetzt. (Haftungsausschluss)
Ce article a été traduit automatiquement. (Clause de non responsabilité)
Este artículo ha sido traducido automáticamente. (Aviso legal)
この記事は機械翻訳されています.免責事項
이 기사는 기계 번역되었습니다.책임 부인
Este artigo foi traduzido automaticamente.(Aviso legal)
这篇文章已经过机器翻译.放弃
Questo articolo è stato tradotto automaticamente.(Esclusione di responsabilità))
Translation failed!
例12:Citrix ADCアプライアンスでクライアント要求内のホスト名およびURLを変更するように書き換えを構成する
Citrix ADCアプライアンスの書き換え機能は、クライアント要求で使用可能なURLを、バックエンドサーバーが認識できる別のURLに変換するために使用されます。書き換え機能を使用すると、次の利点を得ることができます。
-
クライアントによって要求されるリソースへの実際の URL を非表示にすることで、セキュリティを強化します。
-
不正なユーザアクセスがネットワークリソースにアクセスするのを防ぎます。
現在の組織が別の組織によって取得されている例を考えてみましょう。管理者は、買収された組織のすべてのユーザーに新しいWebアドレスについて通知することは難しい仕事になります。このシナリオでは、書き換え機能を使用すると、取得した組織のウェブサイトのためのクライアント要求でホスト名やURLを変更することが便利になります。rewrite を使用すると、Web サイトがメンテナンス中のときに、クライアント要求の URL を一時的に変更できます。
次のセクションでは、書き換え機能を使用してクライアント要求のホスト名と URL を変更する手順について説明します。
ユーザーがWebブラウザにhttp://www.example.com
URLを入力する例を考えてみましょう。Webサイト管理者は、Citrix ADCアプライアンスにクライアント要求内の前のURLをとして変換することを望んでいますhttp://myexample.example.net.in/resource/inventory/s?t=112
。
上記の例では、ウェブサイト管理者は、Citrix ADCアプライアンスで「example.com」のドメイン名を「myexample.example.net.in」に置き換え、URLを「resource/inventory/s?t=112」に置き換えることを望んでいます。
CLI を使用して、次の操作を実行します
-
SSHを使用してCitrix ADCアプライアンスにログオンします。
-
書き換えアクションを追加します。
-
add rewrite action rewrite_host_hdr_act replace "HTTP.REQ.HEADER(\"Host\")" "\"myexample.example.net.in\""
-
add rewrite action rewrite_url_act replace HTTP.REQ.URL.PATH_AND_QUERY "\"/resource/inventory/s?t=112\""
-
-
書き換えアクションに書き換えポリシーを追加します。
-
add rewrite policy rewrite_host_hdr_pol "HTTP.REQ.HEADER(\"Host\").CONTAINS(\"www.example.com\") "rewrite_host_hdr_act
-
add rewrite policy rewrite_url_pol "HTTP.REQ.HEADER(\"Host\").CONTAINS(\"www.example.com\") "rewrite_url_act
-
-
リライトポリシーを仮想サーバーにバインドします。
-
bind lb vserver rewrite_LB -policyName rewrite_host_hdr_pol -priority 10 -gotoPriorityExpression 20 -type REQUEST
-
bind lb vserver rewrite_LB -policyName rewrite_url_pol -priority 20 -gotoPriorityExpression END -type REQUEST
-
共有
共有
This Preview product documentation is Citrix Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Citrix Beta/Tech Preview Agreement.
The development, release and timing of any features or functionality described in the Preview documentation remains at our sole discretion and are subject to change without notice or consultation.
The documentation is for informational purposes only and is not a commitment, promise or legal obligation to deliver any material, code or functionality and should not be relied upon in making Citrix product purchase decisions.
If you do not agree, select Do Not Agree to exit.