Chapter 9

Advanced Expressions: String Sets, String Patterns, and Data Formats

161

To create a named pattern set using the AppExpert in the configuration utility

1.In the navigation pane, expand AppExpert, and click Pattern Sets.

2.In the details pane, click Add.

3.In the Create Pattern Set dialog box, enter a name in the Name field, and then click Add.

4.In the Add Pattern dialog box, enter a pattern in the Pattern field.

5.If you want to manually assign an index number to this pattern set, in the Index field, enter an integer. Note that if you manually add an index to this entry, you must do this for all entries in the set. Otherwise, the NetScaler will automatically assign an index to each entry in the set.

6.Click Create.

7.Continue to add patterns, as needed, as described in the previous steps.

8.Click Create.

To add a pattern set to a policy expression using the configuration utility

1.In the navigation pane, click the name of the feature for which you want to configure an advanced policy, for example, you can select Integrated Caching, Responder, DNS, Rewrite, or Content Switching, and then click Policies.

2.Click Add.

3.In the Create Policy dialog box for most features, instead of clicking directly in the Expression field, click the Add icon (the plus sign). For Content Switching, click Configure, click Advanced Syntax, and then click the Add icon (the plus sign).

4.In the Add Expression dialog box, select the initial expression parameters from the drop-down menus.

5.Select one of the “_ANY” or “_INDEX” operators (for example, CONTAINS_ANY or EQUALS_INDEX). For more information about pattern set operators, see the table, “Operators That Compare Text and HTTP Headers With a Pattern Set,” on page 158.

Page 175
Image 175
Citrix Systems 9.2 manual Chapter, 161