Irule for redirecting https to http
I have an old web site that I still ocasionally get querys on which I want to redirect to a page that gives people an idea of what happened to the old site. Unfortunately the irule below only works for http queries NOT https: ---- irule -----
when HTTP_REQUEST { if { ([HTTP::host] eq "oldwebsite.com") and ([HTTP::uri] eq "") } { HTTP::redirect "https://newwebsite.com/sadsotory.html" } }
When someone requests http://oldsite.com they are successfully redirected to the correct page but when they request https://oldwebsite.com nothing happens and the transaction doesn't even get logged! The important points are that the https://oldsite.com virtual server/address still exists but, there is no certificate. ( I tried just selecting clientssl and that didn't work)
So to reiterate.... is there any way to redirect https://oldsite.com to https://newwebsite.com/sadsotory.html without installing a new certificate ?????