Forum Discussion

  • Hi Jeff,

     

    You shouldn't need to specify the port if the pool is configured on that port. F5 is a full TCP proxy so will do the port translation for you. For the redirect do you want users to access the /api1 URI to be directed towards the TCP/7070 pool? Likewise if /api2, directed towards another pool?

     

  • You use try iRulelike this one:

     

    Code

    When HTTP_REQUEST { if {[HTTP::uri] starts with /ap1 } { HTTP::redirect ";[HTTP::host]:7070"/[HTTP::uri] } else { HTTP::redirect ";[HTTP::host]:70070"/[HTTP::uri] } }

     

  • Sorry, one more question. Is there a way to a "rewrite" rather than a redirection.