Forum Discussion
Siddarth_84779
Jan 28, 2011Nimbostratus
iRule for maintenance page
Hi guys,
I want to write an irule for maintenance page such that the single iRule can be applied to multiple VS. Presently we are using the below irule
when HTTP_REQUEST {
if {[ac...
Chris_Miller
Jan 28, 2011Altostratus
You can use "LB::server pool" from the CLIENT_ACCEPTED event.
when CLIENT_ACCEPTED {
set dpool [LB::server pool] }
when HTTP_REQUEST {
if { [active_members pool $dpool] < 1 } {
HTTP::redirect "http://maintenancepage.html" }
}
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