Forum Discussion
JP_G
Aug 25, 2021Altostratus
Maintenance page setup - server code 200 --> 503
Hello,
I am trying to rewrite the following iRule from server code 200 to 503:
when HTTP_REQUEST {
if {[active_members [LB::server pool]] < 1} {
HTTP::respond 200 content [ifile get iFile_name]
}
}
to this:
when HTTP_REQUEST {
if {[active_members [LB::server pool]] < 1} {
HTTP::respond 503 content [ifile get iFile_name]
}
}
I can setup a test with my LTM but just thought I would ask before I commit to all the paperwork. Thanks for any comments.
--JP
- spalandeNacreous
you are just changing the HTTP response code, it should be fine
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