Forum Discussion
Mar 10, 2015
BIG-IP : HTTP_RESPONSE event : http status code
F5 BIG-IP Virtual Edition v11.4.1 (Build 635.0) LTM on ESXi
In HTTP_RESPONSE event how to know the http status code of the response ?
kunjan
Mar 10, 2015Nimbostratus
You can check like following
when HTTP_RESPONSE {
if { [HTTP::status] contains "404"} {
HTTP::redirect "http://www.siterequest.com/"
}
}
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