Forum Discussion
jasona_40790
Jun 14, 2012Nimbostratus
need to rewrite HTTP 200 status code to HTTP 503
Hello,
I am performing website maintenance and need to bring down our website for a few hours. I will be
serving a friendly maintenance page during this time. However, when Google...
hooleylist
Jun 14, 2012Cirrostratus
Hi Jason,
Do you see any errors in /var/log/ltm when you test that iRule? Are there other iRules or HTTP profile config options that might be sending a redirect? If so, you could disable all other iRules when you're using the maintenance iRule using event disable all:
https://devcentral.f5.com/wiki/iRules.event.ashx
when HTTP_REQUEST {
HTTP::respond 503 noserver Retry-After: 10800
event disable all
}
Aaron
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