Forum Discussion
cymru81
Sep 27, 2023Altocumulus
maintenance 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
Sep 27, 2023Altocumulus
thanks 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, 2023MVP
Good. If all purpose is getting solved then no issue but its not ideal in granular way.
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