Forum Discussion

  • sorry on the eq have that match param. or whatever your landing page will be.

     

    Code

    when HTTP_REQUEST { if { [HTTP::uri] eq "/param1&param2"}{ HTTP::redirect [string map {/param1&param2 /param3&param1&param2}[HTTP::uri]] } }

     

  • Please test this, I've been using this to match with host and uri.

    when HTTP_REQUEST {
        if { [HTTP::host] eq "www.something.com" } 
        {
        if { [HTTP::uri] starts_with "/param1&param2" } {
        HTTP::redirect "/param3&param1&param2" 
        } else {  }
    } else {  }
    }
    
  • when HTTP_REQUEST {
       if { [HTTP::uri] eq "/param1&param2"}{
          HTTP::redirect [string map {/param1&param2 /param3&param1&param2}[HTTP::uri]]
            }
          }