-
AppExpert Applications and Templates
-
Configure application authentication, authorization, and auditing
-
-
Advanced Policy Expressions: Working with Dates, Times, and Numbers
-
Advanced Policy Expressions: Parsing HTTP, TCP, and UDP Data
-
Advanced Policy Expressions: IP and MAC Addresses, Throughput, VLAN IDs
-
-
-
-
Rewrite Action and Policy Examples
-
-
Configuring URL Transformation Policies
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!
Configuring URL Transformation Policies
After you create a URL transformation profile, you next create a URL transformation policy to select the requests and responses that the Citrix ADC should transform by using the profile. URL transformation considers each request and the response to it as a single unit, so URL transformation policies are evaluated only when a request is received. If a policy matches, the Citrix ADC transforms both the request and the response.
Note: The URL transformation and rewrite features cannot both operate on the same HTTP header during request processing. Because of this, if you want to apply a URL transformation to a request, you must make sure that none of the HTTP headers it will modify are manipulated by any rewrite action.
To configure a URL transformation policy by using the Citrix ADC command line
You must create a new policy. On the command line, an existing policy can only be removed. At the Citrix ADC command prompt, type the following commands to configure a URL transformation policy and verify the configuration:
- <add transform policy <name> <rule> <profileName>
- <show transform policy <name>
Example:
> add transform policy polsearch HTTP.REQ.URL.SUFFIX.EQ("Searching") prosearching
Done
> show transform policy polsearch
1) Name: polsearch
Rule: HTTP.REQ.URL.SUFFIX.EQ("Searching")
Profile: prosearching
Priority: 0
Hits: 0
Done
<!--NeedCopy-->
To remove a URL transformation policy by using the Citrix ADC command line
At the Citrix ADC command prompt, type the following command to remove a URL transformation policy:
rm transform policy <name>
Example:
> rm transform policy polsearch
Done
<!--NeedCopy-->
To configure a URL transformation policy by using the configuration utility
-
In the navigation pane, expand Rewrite, expand URL Transformation, and then click Policies.
-
In the details pane, do one of the following:
- To create a new policy, click Add.
- To modify an existing policy, select the policy, and then click Open.
-
In the Create URL Transformation Policy or Configure URL Transformation Policy dialog box, type or select values for the parameters. The contents of the dialog box correspond to the parameters described in “Parameters for configuring URL transformation policies” as follows (asterisk indicates a required parameter):
- Name*—name (Cannot be changed for a previously configured policy.)
- Profile*—profileName
- Expression—rule
If you want help with creating an expression for a new policy, you can either hold down the Control key and press the space bar while your cursor is in the Expression text box. To create the expression, you can type it directly as described below, or you can use the Add Expression dialog box.
-
Click Prefix, and choose the prefix for your expression.
Your choices are:
-
HTTP—The HTTP protocol. Choose this if you want to examine some aspect of the request that pertains to the HTTP protocol.
-
SYS—The protected Web site(s). Choose this if you want to examine some aspect of the request that pertains to the recipient of the request.
-
CLIENT—The computer that sent the request. Choose this if you want to examine some aspect of the sender of the request.
-
SERVER—The computer to which the request was sent. Choose this if you want to examine some aspect of the recipient of the request.
-
URL—The URL of the request. Choose this if you want to examine some aspect of the URL to which the request was sent.
-
TEXT—Any text string in the request. Choose this if you want to examine a text string in the request.
-
TARGET—The target of the request. Choose this if you want to examine some aspect of the request target.
After you choose a prefix, the Citrix ADC displays a two-part prompt window that displays the possible next choices at the top, and a brief explanation of what the selected choice means at the bottom. The choices depend on which prefix you chose.
-
-
Select your next term.
If you chose HTTP as your prefix, your choices are REQ, which specifies HTTP requests, and RES, which specifies HTTP responses. If you chose another prefix, your choices are more varied. For help on a specific choice, click that choice once to display information about it in the lower prompt window.
When you are certain which choice you want, double-click it to insert it into the Expression window.
-
Type a period, and then continue selecting terms from the list boxes that appear to the right of the previous list box. You type the appropriate text strings or numbers in the text boxes that appear to prompt you to enter a value, until your expression is finished.
-
Click Create or OK, depending on whether you are creating a new policy or modifying an existing policy.
-
Click Close. A message appears in the status bar, stating that the Policy has been configured successfully.
To add an expression by using the Add Expression dialog box
- In the Create Responder Action or Configure Responder Action dialog box, click Add.
-
In the Add Expression dialog box, in the first list box choose the first term for your expression.
-
HTTP
The HTTP protocol. Choose this if you want to examine some aspect of the request that pertains to the HTTP protocol.
-
SYS
The protected Web site(s). Choose this if you want to examine some aspect of the request that pertains to the recipient of the request.
-
CLIENT
The computer that sent the request. Choose this if you want to examine some aspect of the sender of the request.
-
SERVER
The computer to which the request was sent. Choose this if you want to examine some aspect of the recipient of the request.
-
URL
The URL of the request. Choose this if you want to examine some aspect of the URL to which the request was sent.
-
TEXT
Any text string in the request. Choose this if you want to examine a text string in the request.
-
TARGET
The target of the request. Choose this if you want to examine some aspect of the request target. When you make your choice, the rightmost list box lists appropriate terms for the next part of your expression.
-
- <In the second list box, choose the second term for your expression. The choices depend upon which choice you made in the previous step, and are appropriate to the context. After you make your second choice, the Help window below the Construct Expression window (which was blank) displays help describing the purpose and use of the term you just chose.
- <Continue choosing terms from the list boxes that appear to the right of the previous list box, or typing strings or numbers in the text boxes that appear to prompt you to enter a value, until your expression is finished.
Share
Share
In this article
This Preview product documentation is Cloud Software Group Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Cloud Software Group 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 Cloud Software Group product purchase decisions.
If you do not agree, select I DO NOT AGREE to exit.