Raj_57800
Nov 24, 2008Nimbostratus
iRule for Http redirect
I have defined a irule to forward http request to be converted as https. But when any https request to the same server is not being forwarded. This is the irule
when HTTP_REQUEST {
if {[TCP::local_port] == 80} {
HTTP::redirect https://xxx.com } {
else {
HTTP::fallback "https://xxx.com
}
}
Can anyone help me in finding the correct irule
raj