Antony2015
May 14, 2015Altostratus
rewrite iRule
How to write the below iRule if I want to use the two events together ?
event&Condition:when CLIENT_ACCEPTED {
Client IP:[IP::client_addr] equals 10.0.0.0/8
} when HTTP_REQUEST { if { [string tolower [HTTP::header User-Agent]] contains "/Firefox" or "/Chrome" or "/Opera" or "/safari" }
ActionThe action is to rewrite the URI.
-reqUrlFrom "https://www.f5.com/citrix/wwl_prodweb/" -reqUrlInto "https://www.f5.com/citrix/wwl_prodwebExplicit/"
Any help would be highly appreciated !