Forum Discussion
cymru81
Altocumulus
Sep 27, 2023maintenance page irule
Hi, id like to force all traffic to hit a maintenance page irule regardless of pool member status, i have the following but how can i write this without the "if" so it will disaply everytime? when...
cymru81
Altocumulus
Sep 27, 2023thanks for responding, i changed it to this and it now works as id hoped:
when HTTP_REQUEST {
HTTP::respond 503 content \
"<HTML><head><title>Maintenance page</title></head><body>
<p> Our website is undergoing maintenance. Please try again later.
<p>Thank you for your patience. </p>
</body>
</html>" "Content-Type" "text/html" "Retry-After" "3600" "Connection" "Close"
}
- SamirSep 27, 2023
MVP
Good. If all purpose is getting solved then no issue but its not ideal in granular way.
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