Forum Discussion
Brad_53264
Nimbostratus
Nov 01, 2008ASM custom blocking response & iRules
I am trying to write an iRule to do search and replace logic on the body of a custom blocking response.
When I add headers to the custom blocking response within ASM I do not see the...
AaronJB
Nov 03, 2008Ret. Employee
Unfortunately the HTTP_RESPONSE event fires before ASM has made any modifications to (or replacement of) the response received from the node, and the same is true for the blocking response page. In essence you are seeing the embryonic blocking page before it has actually been constructed by the ASM.
At present there are no plans to extend the iRules functionality - for example adding an HTTP_RESPONSE_SEND event to allow manipulation of the response before it leaves TMM (after it has passed through ASM) - but as Aaron says above, you can use v9.4's VIP-targetting-VIP functionality to achieve the same aim.
Thanks,
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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