Forum Discussion
Vijay_Jain
Altostratus
Jun 11, 2019ICAP with iRule Response Page without ASM
Hello, We are running on Big IP 13.1.1.4 TMOS code and set up Content Adaptation for HTTP request to check files uploaded through one our Website using ICAP. It's working fine but in case any v...
Jun 12, 2019
Try this:
when ADAPT_REQUEST_RESULT {
log local0. "ADAPT_REQUEST_RESULT: [ADAPT::result]"
if { ([ADAPT::result] contains "respond") } {
log local0. "ICAP Response is [ADAPT::result], let's customized reject page"
set response {
<html>
<head>
<title>Virus Detected</title>
<meta http-equiv="refresh" content="0;URL='https://int-www-01.citizensfla.com/virus-test'" />
</head>
</html>
}
HTTP::respond 200 content $response
}
}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
