REWRITE_REQUEST_DONE¶
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
}
}
}