Forum Discussion
MK_62657
Nimbostratus
Feb 13, 2008Using F5 as a fall back host
Hello:
Is any using the F5 device itself as a fall back host? I would like to host the maintenance page on the device itself if possible instead of having another server as the fallback host...
JRahm
Admin
Mar 19, 2008Actually, I don't even use the RULE_INIT event. The entire response is an image:
class sorrypage {
type string
filename "/var/class/unavailable.class"
}
rule sorrypage-rule {
when HTTP_REQUEST {
if {[active_members http-pool] == 0} {
HTTP::respond 200 content [b64decode [lindex $::sorrypage 0]] "Content-Type" "image/png"
}
}
}
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