Edu_50128
Apr 06, 2011Nimbostratus
URL redirect
Hello,
I´m new in iRules...
I need to configure F5 to redirect a URL... so it is, I need to redirect the traffic for the url www.mypage.com to www.newpage.com, but the last one is not on my network, it´s on a web hosting (first one yes).
I´ve thought this configuration:
when HTTP request {
if { [HTTP::host] equals "www.mypage.com"} {
HTTP: redirect "http://www.newpage.com"
}
}
Will it work? What dou you think?
Is there any other configuration better?
thanks
best regards