ltm rule command WAM disableΒΆ

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

WAM::disable
       Disables Web Accelerator plugin processing on the connection.

SYNOPSIS
       WAM::disable

DESCRIPTION
       Disables the WAM plugin for the current TCP connection. WAM will remain disabled on the current TCP connection until it is
       closed or WAM::enable is called.

       Syntax

       WAM::disable

	    * Disables plugin processing for the duration of the TCP connection
	      or until WAM::enable is called.

	  Note: WAM::disable deprecates PLUGIN::disable WAM

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

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

BIG-IP							    2022-04-12							  iRule(1)