Forum Discussion

N__197982's avatar
N__197982
Icon for Nimbostratus rankNimbostratus
Oct 04, 2017

forwarding requests to APM based on URI.

Folks, We are trying to forwarding requests to APM based on URI. If the F5 sees something like /support and /helpdesk in the URI it should forward the http request to the APM engine. If not, simply forward it to the pool.

 

Thanks!! N.

 

2 Replies

  • Hi Guy,

    Use this iRule :
    when HTTP_REQUEST {
            Check the requested HTTP uri
           switch -glob [string tolower [HTTP::uri]] {
                  "/support*" -
                  "/helpdesk*" {
                          Disable APM for these uri
                         ACCESS::disable
                  }
                  default {
                          Enable APM for all other uris
                         ACCESS::enable
                  }
           }
    }
    

    Hope it helps

    Please mark it as answer if it works

    Regards