Forum Discussion

  • so if first condition already being done with if statement and it is working i am assuming second condition should be elseif send to default as only pool? will that work?

     

  • If I understand the requirement, you want to redirect anyone that goes directly to "/test/index.html", but not if there's something after this in the URI (ex. "/test/index.html/transfer".

    In that case, you could probably use a static equals evaluation in your iRule:

    when HTTP_REQUEST {
        if { [string tolower [HTTP::uri]] equals "/test/index.html" } {
            HTTP::redirect "/test/my.jsp"
        }
    }