Forum Discussion
veredgf
Nimbostratus
Sep 22, 2019custom response per uri with jason code
Hi, One of the developers would like to have a Jason custom response for ASM blocking for all pages beginning with (not real page) \blabla\* He would like to put a simple code that will send the se...
Simon_Blakely
Employee
Sep 23, 2019> if I want to give this response to *all* violations on said uri, then would it be better to set this with a traffic policy?
I'm not sure I understand what you are getting asking here.
> Do I need to create three Virtual servers for this? i.e., one with the real vip and two that have a placeholder vip just for the sake of holding the policy?
You don't need to attach the ASM policies to a virtual server. You just create the ASM policies, and then assign them via a manually configured Local Traffic Policy.
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects
