F5 is upgrading its customer support chat feature on My.F5.com. Chat support will be unavailable from 6am-10am PST on 1/20/26. Refer to K000159584 for details.

Forum Discussion

Gill_32697's avatar
Gill_32697
Icon for Nimbostratus rankNimbostratus
Oct 22, 2012
Solved

Need redirect irule help please !

I need a redirest irule, I can not use http class.   The developer only want the irule to act on the specifc uri path and send to pool1, any other uri path or no uri path at all goes to pool2.   ...
  • Pconlan_71037's avatar
    Oct 22, 2012

    Correct, add another line after the first one. THe new line would look like

     

     

    "/newuri/" -

     

     

    and yes, it should match only the uri's as specified. Actually, it will be case-insenstive, so it would match the uri list no matter what combination of upper and lowercase characters. If you do not want that and only want it to match on lower case, then change the switch statement to:

     

     

    switch -glob [HTTP::path]