Scott_85950
Sep 23, 2011Nimbostratus
iRule - HTTPS redirect to HTTP
Is it possible to redirect a URL currently rendering in HTTPS, back to HTTP?
I know that some browser types will notify users that they are about to leave
an HTTPS page, however the benefits outweigh the down falls.
If I place the following iRule in my 443 profile, it will not redirect to HTTP as
directed, assuming HTTPS. Apologies if this is a junior mistake. Just need some
advise.
when HTTP_REQUEST {
if {[HTTP::host] eq "www.yyy.com"} {
HTTP::redirect "http://zzz.ccc.com[HTTP::uri]"
}
}