LTM Maintenance Page Lite
Published Mar 18, 2015
Version 1.0Was this article helpful?
Hi,
why should I add prefix /maintenance? Why shoukd I make redirect HTTP::redirect "/maintenance"?
Could iRule looks like this below, without redirection. What benefits are when I make this redirection.
when HTTP_REQUEST {
if {[active_members [LB::server pool]] < 1} {
switch [string tolower [HTTP::uri]] {
"/style.css" {
HTTP::respond 200 content [ifile get "style"] "Content-Type" "text/css"
}
default {
HTTP::respond 200 content [ifile get "index"] "Content-Type" "text/html"
}
}
} }