Forum Discussion
Michael_Everet1
Historic F5 Account
As you know, the Geo-filtering is policy wide. So, two options:
-
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.
-
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: https://devcentral.f5.com/wiki/iRules.ASM__raise.ashx ; https://support.f5.com/kb/en-us/products/big-ip_asm/manuals/product/asm-implementations-11-5-0/38.html
Dinesh_Pandey
Dec 15, 2015Nimbostratus
I will test & let you know.