Forum Discussion
Disable ASM within Existing iRule
Current iRule:
when HTTP_REQUEST { set uri [string tolower [HTTP::uri]]
switch -glob $uri { "/test" { pool TEST_POOL } "/test1" { pool TEST2_POOL } default { pool MY_POOL } } }
Is it possible to throw in "ASM::disable" for the "/test1*" condition to this existing iRule? I'm running version 12.1.2 HF1.
- JustCooLpOOLe
Cirrocumulus
Update. I was able to add "ASM::disable" for the test1 condition and the developer has verified the request is no longer being blocked.
- Stanislas_Piro2
Cumulonimbus
ASM policies are enabled in LTM with a LTM policy.
why are you trying to disable ASM within an irule instead of LTM policy?In the LTM policy, add a rule above the existing rule with condition :
HTTP Uri path starts with /test1
and with action
disable ASM
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