-
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 Profiles
-
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 Profiles
A profile describes a specific URL transformation as a series of actions. The profile functions primarily as a container for the actions, determining the order in which the actions are performed. Most transformations transform an external hostname and optional path into a different, internal hostname and path. Most useful transformations are simple and require only a single action, but you can use multiple actions to perform complex transformations.
You cannot create actions and then add them to a profile. You must create the profile first, and then add actions to it. In the CLI, creating an action and configuring the action are separate steps. Creating a profile and configuring the profile are separate steps in both the CLI and the configuration utility.
To create a URL transformation profile by using the Citrix ADC command line
At the Citrix ADC command prompt, type the following commands, in the order shown, to create a URL transformation profile and verify the configuration. You can then repeat the second and third commands to configure additional actions:
add transform profile <profileName> -type URL [-onlyTransformAbsURLinBody (ON|OFF)] \[-comment <comment>]
add transform action <name> <profileName> <priority>
set transform action <name> [-priority <priority>] [-reqUrlFrom <expression>] [-reqUrlInto <expression>] [-resUrlFrom <expression>] [-resUrlInto <expression>] [-cookieDomainFrom <expression>] [-cookieDomainInto <expression>] [-state (ENABLED|DISABLED)] [-comment "<string>"]
show transform profile <name>
Example:
> add transform profile shoppingcart -type URL
Done
> add transform action actshopping shoppingcart 1000
Done
> set transform action actshopping -priority 1000 -reqUrlFrom 'shopping.example.com' -reqUrlInto 'www.example.net/shopping' -resUrlFrom 'www.example.net/shopping' -resUrlInto 'shopping.example.com' -cookieDomainFrom 'example.com' -cookieDomainInto 'example.net' -state ENABLED -comment 'URL transformation for shopping cart.'
Done
> show transform profile shoppingcart
Name: shoppingcart
Type: URL onlyTransformAbsURLinBody: OFF
Comment:
Actions:
1) Priority 1000 Name: actshopping ENABLED
Done
<!--NeedCopy-->
To modify an existing URL transformation profile or action by using the Citrix ADC command line
At the Citrix ADC command prompt, type the following commands to modify an existing URL transformation profile or action and verify the configuration:
Note: Use a set transform profile or set transform action command, respectively. The set transform profile command takes the same arguments as does the add transform profile command, and set transform action is the same command that was used for initial configuration.
set transform action <name> [-priority <priority>] [-reqUrlFrom <expression>] [-reqUrlInto <expression>] [-resUrlFrom <expression>] [-resUrlInto <expression>] [-cookieDomainInto <expression>] [-state (ENABLED|DISABLED)] [-comment "<string>"]
show transform profile <name>
Example:
> set transform action actshopping -priority 1000 -reqUrlFrom 'searching.example.net' -reqUrlInto 'www.example.net/searching' -resUrlFrom 'www.example.net/searching' -resUrlInto 'searching.example.com' -cookieDomainInto 'example.net' -state ENABLED -comment 'URL transformation for searching cart.'
Done
> show transform profile shoppingcart
Name: shoppingcart
Type: URL onlyTransformAbsURLinBody: OFF
Comment:
Actions:
1) Priority 1000 Name: actshopping ENABLED
Done
<!--NeedCopy-->
To remove a URL transformation profile and actions by using the Citrix ADC command line
First remove all actions associated with that profile by typing the following command once for each action:
- rm transform action
<name>
After you have removed all actions associated with a profile, remove the profile as shown below. - rm transform profile
<name>
To create a URL transformation profile by using the configuration utility
- In the navigation pane, expand Rewrite, expand URL Transformation, and then click Profiles.
- In the details pane, click Add.
- In the Create URL Transformation Profile 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 profiles” as follows (asterisk indicates a required parameter):
- Name*—name
- Comment—comment
- Only transform absolute URLs in response body—onlyTransformAbsURLinBody
- Click Create, and then click Close. A message appears in the status bar, stating that the Profile has been configured successfully.
To configure a URL transformation profile and actions by using the configuration utility
- In the navigation pane, expand Rewrite, expand URL Transformation, and then click Profiles.
- In the details pane, select the profile you want to configure, and then click Open.
- In the Configure URL Transformation Profile dialog box, do one of the following.
- To create a new action, click Add.
- To modify an existing action, select the action, and then click Open.
- Fill in the Create URL Transformation Action or Modify URL Transformation Action dialog box by typing or selecting values for the parameters. The contents of the dialog box correspond to the parameters described in “Parameters for configuring URL transformation profiles” as follows (asterisk indicates a required parameter):
- Action Name*—name
- Comments—comment
- Priority*—priority
- Request URL from—reqUrlFrom
- Request URL into—reqUrlInto
- Response URL from—resUrlFrom
- Response URL into—resUrlInto
- Cookie Domain from—cookieDomainFrom
- Cookie Domain into—cookieDomainInto
- Enabled—state
- Save your changes.
- If you are creating a new action, click Create, and then Close.
- If you are modifying an existing action, click OK. A message appears in the status bar, stating that the Profile has been configured successfully.
- Repeat step 3 through step 5 to create or modify any additional actions.
- To delete an action, select the action, and then click Remove. When prompted, click OK to confirm the deletion.
- Click OK to save your changes and close the Modify URL Transformation Profile dialog box.
- To delete a profile, in the details pane select the profile, and then click Remove. When prompted, click OK to confirm the deletion.
Share
Share
In this article
- To create a URL transformation profile by using the Citrix ADC command line
- To modify an existing URL transformation profile or action by using the Citrix ADC command line
- To remove a URL transformation profile and actions by using the Citrix ADC command line
- To create a URL transformation profile by using the configuration utility
- To configure a URL transformation profile and actions by using the configuration utility
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.