Change httpclass to conditional irule
1. Redirect / to /blah
2. Send /hum to pool_b
3. Send /bug to pool_c
Lately, they have been wanting the entire site to be redirected to another page while they perform maintenance, so we have httpclass 4.
4. Match all and send to http://here.com/goawayfornow.html
Simple enough we just insert httpclass 4 to the top of the class list.
But they are wanting rule 4 added and removed alot, at all times of day and night. And I'm starting to get crabby about it.
Is there a way I can have them just add a file to their server that the F5 is checking for, and if it exists, the redirect rule reigns supreme and I get to sleep through the night? I considered a pool preference with a custom monitor to the goaway file, but that wouldn't negate the httpclasses or redirects.
So now I'm thinking irule may be the way, but I'm not sure how to set the conditional for 4, and how to make it overrule 1, 2, and 3. Any thoughts?