Forum Discussion
Dbow_21284
Apr 27, 2010Nimbostratus
Ok I get what you guys are laying down now. I created the iRule and its the only iRULE on my HTTPS VIP, but now all traffic just hangs. The browser just churns and churns when I apply this iRULE. The code is below. Even if you put the exact URL for the new domain I want to preference. However, as soon as I go onto the VIP and remove this iRULE the browser immediately pops up the site.
What am I doing wrong?
Thanks guys. Dave
when HTTP_REQUEST {
if { [HTTP::host] == "olddomainname" } {
HTTP::redirect "https://newdomainname[HTTP::uri]" }
}