cathy_123
Nov 07, 2017Cirrus
F5 redirection not working
Hi Guys,
Can you help me with this we are using redirection for a long time now. However not sure what is the issue on my irule.
When the user enters it will be redirected to http://www.abc.com/s?rch=&q=qrs+tuv
below is my irule
when HTTP_REQUEST {
if {[string tolower [HTTP::host]] contains "www.abc.com"} {
if {[string tolower [HTTP::uri]] starts_with "/n/abc-def,-ghi-jkl/mno-2061"} {
HTTP::redirect "http://www.abc.com/s?rch=&q=qrs+tuv"
}
}
}
Not sure why it is not working probably because of long uri? Please help