ltm rule command REWRITE enable
iRule(1) BIG-IP TMSH Manual iRule(1)
REWRITE::enable
Changes the REWRITE plugin from passthrough to full patching mode.
SYNOPSIS
REWRITE::enable
DESCRIPTION
Changes the REWRITE plugin from passthrough to full patching mode. A place where this might be helpful would
be a POST request where REWRITE would modify the post body unnecessarily, so we disable it. However, we want
REWRITE to modify the response, so we would enable it later in the HTTP_RESPONSE. Use of this command can be
extremely tricky to get exactly right; its use is not recommended in the majority of cases
Syntax
REWRITE::enable
* Change the rewrite plugin from passthrough mode to full patching
mode.
RETURN VALUE
VALID DURING
ACCESS_ACL_ALLOWED, HTTP_RESPONSE, REWRITE_REQUEST_DONE, REWRITE_RESPONSE_DONE
EXAMPLES
HINTS
SEE ALSO
CHANGE LOG
@BIGIP-10.2.1 --First introduced the command.
BIG-IP 2020-06-23 iRule(1)