Forum Discussion

5 Replies

  • Try this:

    when HTTP_REQUEST {
     if { [HTTP::host] equals "10.1.1.1" } {
      HTTP::redirect "http://web-server/mypage"
     }
    }
    
  • Thanks for your answer Cory...

     

    I forgot to mention that...I had also tried that as well but it had not worked....

     

    I will again give it a try...

     

    • Cory_50405's avatar
      Cory_50405
      Icon for Noctilucent rankNoctilucent
      The trigger wasn't properly formatted in what you posted above. Also, HTTP::host will only return the host IP address without any http:// You tried it before exactly as I posted above and it did not work?