Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 

I-rule for adapt request "response page"

Wasfi_Bounni
Cirrocumulus
Cirrocumulus

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

1 ACCEPTED SOLUTION

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/221613

If it doesn't work with you , use this even (when ICAP_RESPONSE)
instead of when 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-o...

Like these irules much tricky ‌‌😃

_______________________
Regards
Mohamed Kansoh

View solution in original post

3 REPLIES 3

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/221613

If it doesn't work with you , use this even (when ICAP_RESPONSE)
instead of when 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-o...

Like these irules much tricky ‌‌😃

_______________________
Regards
Mohamed Kansoh

Thank you Mohamed.

you're most welcome @Wasfi_Bounni 🙂 

_______________________
Regards
Mohamed Kansoh