Forum Discussion

rkram_p's avatar
rkram_p
Icon for Altostratus rankAltostratus
Feb 23, 2026

Block specific URL's in APM

we have requirement to block particular URL's and URI.

can we block URL and URI in the APM provisioned F5 device.

 

Thanks,

RK

 

1 Reply

  • Yes you can, even with just LTM

    try something like this

    when HTTP_REQUEST
    {
        switch -glob [ string tolower [HTTP::uri] ]
        {
            "/uri1" -
            "/uri2"
            {
                drop
            }
            default
            {}
        }
    }