Forum Discussion

1 Reply

  • Hello,

    I don't think it is possible to do it by policy (I don't know if you can store variables with LTM policies)

    But using an iRule you can do it for sure, try this :

    when HTTP_REQUEST {
        if { [string tolower [HTTP::host]] eq "www.myurl.com" } {
            HTTP::redirect https://www.anotherurl.com[HTTP::uri]
        }
    }
    

    Please try it and give us a feedback

    Regards