ltm rule command WAM enableΒΆ

iRule(1)					  BIG-IP TMSH Manual					     iRule(1)

WAM::enable
       Enables Web Accelerator plugin processing on the connection.

SYNOPSIS
       WAM::enable

DESCRIPTION
       Enables the WAM plugin for the current TCP connection. WAM will remain enabled on the current TCP connection
       until it is closed or WAM::disable is called.

       Syntax

       WAM::enable

	    * Enables Web Accelerator plugin processing for the duration of the
	      TCP connection or until WAM::disable is called.

	  Note: WAM::enable deprecates PLUGIN::enable WAM

RETURN VALUE
VALID DURING
       HTTP_REQUEST,HTTP_CLASS_SELECTED (up to 11.3)

EXAMPLES
	# Disable WAM for HTTP paths ending in .php
	when HTTP_REQUEST {
	  WAM::enable
	  if { [HTTP::path] ends_with ".php" } {
	    WAM::disable
	  }
	}

HINTS
SEE ALSO
CHANGE LOG
       @BIGIP-10.0.1 --First introduced the command.

BIG-IP						      2020-06-23					     iRule(1)