Forum Discussion
Geo Policy for Spacific URL
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_PandeyDec 14, 2015
Nimbostratus
I will test & let you know.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com