Forum Discussion
heskez_36146
Nimbostratus
Nov 12, 2013Irule maintanance page with ifile
Hi there,
I'd like to create a maintanance page irule which i can attach to a VIP if necessary.
We've an existing custom prebuild maintanance page with images and css file.
I've uploaded all...
JPV_131616
Cirrus
Nov 12, 2013why don't you serve the maintenance page from some other VIP/URL and do something like this on the VIP where you want to enable splash;
when HTTP_REQUEST { set uri [HTTP::uri]
set to true to enable/false to disable
set maintenance_mode "true"
if { $maintenance_mode equals "true" } { if {$uri starts_with "/yourapp"} { HTTP::redirect "http://your.site.com/outage.shtml" 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