ltm rule command REWRITE disableΒΆ

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



REWRITE::disable
       Changes the REWRITE plugin from full patching mode to passthrough mode.

SYNOPSIS
       REWRITE::disable

DESCRIPTION
       Changes the REWRITE plugin from full patching to passthrough mode.

       Syntax

       REWRITE::disable

	    * Changes the rewrite plugin from full patching mode to passthrough
	      mode for the lifetime of the TCP connection or until
	      REWRITE::enable is called.

RETURN VALUE
VALID DURING
       ACCESS_ACL_ALLOWED, HTTP_RESPONSE, REWRITE_REQUEST_DONE,
       REWRITE_RESPONSE_DONE

EXAMPLES
	when ACCESS_ACL_ALLOWED {
	  set host [HTTP::host]
	}

	when HTTP_RESPONSE {
	  if {$host == "www.f5.com"} {
	    REWRITE::disable
	  }
	  log local0. "host: $host"
	}

	Note: This only works if there are no references of the form
	   "/path/file" that starts with a slash.

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



BIG-IP				  2017-01-31			      iRule(1)