REWRITE::disable¶
Description¶
Changes the REWRITE plugin from full patching to passthrough mode.
Syntax¶
REWRITE::disable
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.
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.