Citrix ADC

Changing an Web App Firewall profile type

If you chose the wrong profile type for an Web App Firewall profile, or the type of content on the protected web site has changed, you can change the profile type.

Note: When you change the profile type, you lose all configuration settings and learned relaxations or rules for the features that the new profile type does not support. For example, if you change the profile type from Web 2.0 to XML, you lose any configuration options for Start URL, Form Field Consistency Check, and the other HTML-specific security checks. The configuration for any options that is supported by both the old and the new profile types remains unchanged.

To change an Web App Firewall profile type by using the command line interface

At the command prompt, type the following commands:

  • set appfw profile -type ( **HTML** | **XML** | **HTML XML** )
  • save ns config

Example

The following example changes the type of a profile named pr-basic, from HTML to HTML XML, which is equivalent to the Web 2.0 type in the GUI.

set appfw profile pr-basic -type HTML XML save ns config 

To change an Web App Firewall profile type by using the GUI

  1. Navigate toSecurity > Citrix Web App Firewall > Policies.
  2. In the details pane, clickAction, and thenChange Profile Type.
  3. In theChange Web App Firewall Profile Typedialog box,Profile Typedrop-down list, select a new profile type.
  4. ClickOKto save your changes and return to theProfilespane.
Changing an Web App Firewall profile type