Hi, I am looking to redirect a single page on my site from https to http, if ever called securely (https). I did find this article on https to http redirection but it it more indepth than I think I need to go;
Much like the Google search on this Dev Central site, when a customer uses the functionality in https, IE returns a non secure pop up warning message due to the insecure Google libraries referenced.
This iRule is what I have attempted, however I am not seeing the results I’d expect. Please help. expected outcome; https://www.mydomain.com/search-results.sthml when called responds with results as; http://www.mydomain.com/search-results.shtml. Do I need to specify if the cypher is secure, then redirect? Please help.
when HTTP_REQUEST {
if { [HTTP::uri] contains “search-results.shtml”} {
HTTP::respond “http://[HTTP::host][HTTP::uri]”
}
}
}