Forum Discussion

1 Reply

  • You don't need to use semicolons and you can redirect with the HTTP::redirect command. This could also be done as part of an LTM traffic policy

    when HTTP_REQUEST { 
        if {[string tolower [HTTP::host]] eq "www.oasiscard.co.uk"} { 
            HTTP::redirect "https://myoasiscard.co.uk/" 
        }
    }