Justin_Haggerty
Dec 21, 2006Nimbostratus
redirect works on some machines, doesn't on others
I've got the following rule in place:
when HTTP_REQUEST {
if { [HTTP::host] contains "old.com" } {
HTTP::redirect "https://new.com"
}
}
What I'm trying to accomplish is if a user enters our old hostname they automatically get redirected to the new hostname, using ssl. Both of the hostnames have the same IP address in DNS. This rule is kind of hit or miss. We are having the most problems on clients that are using Windows PC's. They never get redirected, and are getting a page can't be displayed in IE, and "The connection has been reset" in Firefox.
It seems to work 100% of the time from my Mac and Ubuntu boxes.
Is there something I'm missing?