Forum Discussion
iRule Not Firing after APM policy completes
- May 12, 2022
I have not tested it but you might check out the ACCESS::respond command. https://clouddocs.f5.com/api/irules/ACCESS__respond.html
I have not tested it but you might check out the ACCESS::respond command. https://clouddocs.f5.com/api/irules/ACCESS__respond.html
Thanks JoshBecigneul ! That works for a single default page but if I add another line to the switch such as:
when ACCESS_ACL_ALLOWED {
set uri "myuri"
switch -glob $uri {
"myreport.hmtl" { ACCESS::repond 200 content {ifile get "reportMainPage"] }
"myotherreport.html" { ACCESS::respond 200 content {ifile get "newPage"] }
}
}These work fine individually but within the reportMainPage ifile, there is a link to move to the "newPage" ifile. When I click on it, the main page continues to exist even though the URL is updated.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
