Forum Discussion
Nicolas_JIMENEZ
Nimbostratus
7 years agoreplace http response code of fallback host reply
Hi guys,
would there be a way to replace the response code (302 by default) by another one when the sorry page is triggered and fallback host is configured within the http profile?
Thanks ...
Yann_Desmarest
Cirrus
7 years agoHi Nicolas,
You can replace the Fallback Host feature using LB_FAILED event within an irule :
when LB_FAILED {
HTTP::respond 302 observer Location "http://www.example.com/maintenance.page" Connection Close
}
That's an example, you can customize the HTTP respond to fit your needs.
Regards
Yann
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