lori_54451
Nov 12, 2007Nimbostratus
Irule http/https help
i have just inherited a website that has not SSL encryption. They heard how we do our encryption via BIGIP and they asked me if i could just redirect all of thier http requests to https. Programming apparently is not my forte, and i've tried variuos irules to redirect all http to https with variuos outcomes, non what i want. This seems like it should be a simple enough request. here is the latest irule i tested with. it is applied to a VIP on port 80
when HTTP_REQUEST {
if { [HTTP::uri] eq "/" and [HTTP::host] eq "www.lifecycle3d.com" } {
HTTP::redirect "https://www.lifecycle3d.com/maximo/webclient/login/login.jsp"
} else {
HTTP::redirect "https://[HTTP::host][HTTP::uri]"
}
}
any help would be appreciated