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

Reginald_Sible1's avatar
Reginald_Sible1
Icon for Nimbostratus rankNimbostratus
Apr 07, 2020

Default redirect to url and not pool.

Dev Central

 

How do i default the last line to a url and not pool the hub?

 

when HTTP_REQUEST {

 

  switch -glob [string tolower [HTTP::path]] {

   "/sso*" -   

   "/vznvoucher*" {

     pool NuNetTst_Pool_80

   }

   default {

     pool the_hub

   }

  }

}

1 Reply

  • This should work, basically redirecting everything that does not match to a different url:

    default {

    HTTP::redirect https://your_url_here

    }