Rob_Higginbotha
Apr 08, 2016Nimbostratus
Help with redirect https
I wrote this iRule below and it works great for the most part but, when someone types https://iam.company.com it won't redirect. It only redirects http://iam.company.com to https://iam.company.com:8443/aveksa/main. Is there a way to get it to redirect https as well? Thanks for your help!
when HTTP_REQUEST { if { [string tolower [HTTP::host]] eq "iam.company.com" } then { if { [HTTP::uri] eq "/" } then { HTTP::redirect "https://iam.company.com:8443/aveksa/main" } } }