Forum Discussion
Stanislas_Piro2
Aug 30, 2017Cumulonimbus
Hi,
You can't assign a AFM policy in an irule, but you can assign another VS with a AFM policy assigned.
another solution about your question is to create a policy assigned to the VS with one rule filtering with whitelist followed by a any source rule and assigning an irule filtering on HOST header.
If the host must be filtered, respond with a blocking web page in the irule.