Disable APM rewrite for specicfic URI and redirect to external website
Published Jun 07, 2016
Version 1.0Was this article helpful?
Hi,
Here is a more generic version of this irule
when HTTP_REQUEST {
if {[scan [HTTP::uri] {/f5-w-%[^$]$$%s} encressource uri] > 1} {
set ressource [binary format H* $encressource]
switch -- [URI::host $ressource] {
"www.google.com" -
"www.youtube.com" -
"test3.mycompany.com" {
HTTP::respond 302 Location $ressource$uri
}
}
}
}