Forum Discussion

1 Reply

  • You should use LTM Policy preferably. Alternatively iRule as follow:

     

    if { [HTTP::host] equals "test.me.com" } { HTTP::respond 301 Location ";[HTTP::uri] }

     

    or,

     

    when HTTP_REQUEST { if { [string tolower [HTTP::host]] eq "test.me.com" } { HTTP::respond 301 Location ";[HTTP::uri] } }