Forum Discussion
sachinnema2230_
Nimbostratus
Aug 13, 2014How to set maintanence page
I have configured VIP. 2 memebers in LTM pool.
Requirement : If both member not available then it will redirect to https://A.B.C.D:XYZ/outofservice.html page
I created one LTM pool for oos...
IheartF5_45022
Nacreous
Aug 13, 2014From an SEO perspective it's best to use HTTP::respond with a 5xx response status code ie.
when LB_FAILED {
HTTP::respond 502 content $sorry_page noserver Retry-After 300
return
}The content returned could be a simple page such as one of the ones in bboyjnr's link above, or you can get a full-blown page complete with embedded images, then gzip it, then b64encode it, and place in a datagroup dg_sorry_page with key "5xx", then access it as follows;-
when LB_FAILED {
HTTP::respond 502 content [b64decode[class match -value "5xx" equals dg_sorry_page]] noserver Content-Encoding "gzip" Retry-After 300
return
}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