Forum Discussion
Samir_Jha_52506
Noctilucent
If all the condition will be same like above, Then i will write simple iRule like below.
when HTTP_REQUEST {
set uri [string tolower [HTTP::uri]]
if { [string tolower [HTTP::host]] equals "my.oldsite.com" } {
HTTP::redirect "http://my.newsite.com$uri"
}
}
Tony2020
Apr 28, 2017Nimbostratus
thank you and appreciate your suggestion on this. I will try this.