Forum Discussion

MOHIT_125417's avatar
MOHIT_125417
Icon for Altostratus rankAltostratus
Feb 04, 2016

Explain Irule

Dear Experts,

Can someone explain me the below iRule:

when HTTP_REQUEST {
    if { [string tolower [HTTP::host]] eq "[www.website.com](http://www.website.com)" } then {
        HTTP::redirect "http://[getfield [HTTP::host] ":" 1][HTTP::uri]"
    }
}

1 Reply