Forum Discussion

Sajid's avatar
Sajid
Icon for Cirrostratus rankCirrostratus
Sep 17, 2019

Enable the access control enforcement for a particular request URI.

APM for particular URI's works well on v12.1.2, similar setup on new hardware v14.1 with new Application not working.

process followed,

when HTTP_REQUEST {

       # Check the requested HTTP path
       switch -glob [string tolower [HTTP::path]] {
            "/apm_uri3*" {
                # Enable APM for these paths
                   ACCESS::enable
                        }
                      default {
                     # Disable APM for all other paths
                     ACCESS::disable
              }
       }
}

reference: https://clouddocs.f5.com/api/irules/ACCESS__disable.html

Kindly guide.

4 Replies

  • Hello, can you give more detail, what is not working exactly?

  • Sajid's avatar
    Sajid
    Icon for Cirrostratus rankCirrostratus

    shared iRule is not getting trigger, when user try to access uri.

    • Dave_W's avatar
      Dave_W
      Icon for Employee rankEmployee

      I would add log statements to the iRule so that those are logged to the ltm log file to help determine why this is not firing.

      • Sajid's avatar
        Sajid
        Icon for Cirrostratus rankCirrostratus

        Hi Dave,

         

        Thanks

         

        I am able to fixed the issue.

         

        Regards,

        Sajid