ltm rule command REWRITE post processΒΆ

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



REWRITE::post_process
       Toggle post processing functionality.

SYNOPSIS
       REWRITE::post_process (SWITCH)?

DESCRIPTION
       When REWRITE::post_process is called (without any arguments), it will
       return a "0" to signify that it is off, or an "1" to signify that it is
       on. By default, it is off. Use the command "REWRITE::post_process 1" to
       turn on the post process functionality and "REWRITE::post_process 0" to
       turn it off. When post_process is on, the REWRITE_RESPONSE_DONE event
       is triggered. Otherwise, the REWRITE_RESPONSE_DONE event is ignored.

       Syntax

       REWRITE::post_process 

	    * Triggers the REWRITE_RESPONSE_DONE event. Without the
	      argument, it will return a boolean.

RETURN VALUE
VALID DURING
       REWRITE_REQUEST_DONE

EXAMPLES
	when REWRITE_REQUEST_DONE {
	  if { "[HTTP::host][HTTP::path]" eq "www.external.com/contents.php" } {
	    # Found the file we wanted to modify
	    REWRITE::post_process 1
	  }
	}

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



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