Forum Discussion
David_L_
Nimbostratus
Dec 04, 2020Maintenance Redirect and Return
What I want to accomplish seems simple enough. When needed I want a VS to display a maintenance page. When I turn off maintenance I want a refresh at the user's browser to load the main app. ...
Samir
MVP
Dec 04, 2020It will be difficult to analysis iRule without seeing it. I am using below iRule since long time.
You can control Pool member from server level and route the traffic.
Example:
when HTTP_REQUEST {
if { [active_members POOL-NAME] < 1 } {
HTTP::respond 200 content [ifile get maintanence_page.html] "Content-Type" "text/html"
}
}Thanks
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