Forum Discussion
Moinul_Rony
Altostratus
May 14, 2014How do I create a custom HTTP response on ASM default respond call
I have enabled "Trigger ASM iRule Events" in the ASM policy properties.
Now I want to create a iRule that intercepts default response on a ASM blocking response and responds a different HTTP:s...
Kevin_Stewart
Employee
May 15, 2014Actually, Vitaliy is absolutely correct. Under Security - Application Security - Blocking - Response Pages, select "Custom Response" as the Response Type and change the HTTP status code and headers in the Response Headers block. Example:
HTTP/1.1 403 Forbidden
Cache-Control: no-cache
Pragma: no-cache
Connection: closeYou can leave the Response Body section as is, or modify as required.
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