ltm rule event REWRITE REQUEST DONEΒΆ

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



REWRITE_REQUEST_DONE
       Always triggered after the ACCESS_ACL_ALLOWED event when a Portal
       Access resource is accessed.

DESCRIPTION
       An iRule event that is always triggered after the ACCESS_ACL_ALLOWED
       event when a Portal Access resource is accessed.

Examples
	when REWRITE_REQUEST_DONE {
	  log local0. "[HTTP::uri]"
	  foreach header_name [HTTP::header names] {
	    log local0. "  $header_name -> [HTTP::header value $header_name]"
	  }
	  REWRITE::post_process 1
	}


	when REWRITE_REQUEST_DONE {
	    switch "[HTTP::host][HTTP::path]" {
		"intra.fp.f5net.com/contents.php" {
		    set match 1
		    REWRITE::post_process 1
		}
		default {
		    # Reset the value of match
		    # log local0. "No match for [HTTP::host][HTTP::path]"
		    set match 0
		}
	    }
	}

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



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