PLUGIN::disable


Description

Disables the specified plugin. This command is useful when using a virtual server that services traffic that will selectively use the plugin.
Note: The syntax changes in 10.0.1 from PLUGIN::disable <plugin> to <Plugin_Name>::disable. Ex. WAM::disable or ASM::disable.
This command was implemented for F5 internal use only, and the implementation of this command may be changed at any time. Its use is recommended by those who are aware of its implementation details and dependencies and those of the plugins it references. Most users are not expected to understand the complexity of these details and dependencies, and are likely to encounter difficulties. While we are happy to provide this document for reference, and encourage you to update it as you see fit, F5 reserves the right not to support the use of this command.

Syntax

PLUGIN::disable

PLUGIN::disable

  • Disables plugin processing on the connection

Note: The syntax changes in 10.0.1 from PLUGIN::disable to ::disable. Ex. WAM::disable or ASM::disable.

Examples

when HTTP_CLASS_SELECTED {
  PLUGIN::enable ASM
  if { [HTTP::uri] contains ".jpg" } {
    PLUGIN::disable ASM
  }
}