Geo Policy for Spacific URL

Using ASM policy with GEO base policy and working fine. need another GEO Base for a specific page URL within site & within same ASM Policy. any suggestion.

As you know, the Geo-filtering is policy wide. So, two options:

  1. You can create a separate policy for this URL, and use iRule/TMOS policy to switch between the policies. Obviously, this requires additional work of maintaining two policies, but would be able to meet this requirement.

  2. You can create a custom violation (assuming 11.5 or higher), and then use an iRule to inspect the specific URL, compare it to the Geo’s you want for this URL, and if not in allowed list use the iRule to raise the custom violation.

Some resources: DevCentral ; Working with Violations

I will test & let you know.

Hi, I have test with Irule but getting issue, Now i achieve to redirect different ASM policy by Creating local traffic policy rules for ASM, Local Traffic > Policies select local traffic policy & Create rule for specific Path.

Thanks Team for support.