I-rule for adapt request "response page"
Hi;
I have implemented a https virtual server with adapt request profile for icap scanning purposes.
My intention is to return a custom response page upon finding a virus and my understandig also that this can be done using an i-rule attached to the https virtual server.
My question is there an i-rule for this purpose that you can share with me. The intention is to have it include HTML that I will modify myself.
Kindly
Wasfi
Hi Wasfi_Bounni ,
I think irules in the below links may help you:
Niels_van_Sluis's one
https://community.f5.com/t5/technical-forum/icap-with-irule-response-page-without-asm/td-p/221613If it doesn't work with you , use this even (when ICAP_RESPONSE)
instead ofwhen ADAPT_REQUEST_RESULT
and use if condition , to match on any string or data coming from ICAP server after Virus detected.
Or Navigate this discussion as well :
https://community.f5.com/t5/technical-forum/is-it-possible-to-insert-http-payload-in-an-icap-reply-or-to/td-p/299959Like these irules much tricky 😃