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

REWRITE::enable

  • Change the rewrite plugin from passthrough mode to full patching mode.

Examples