Forum Discussion
日時を指定し、sorryページを表示させ、指定時間後に戻すRules(Specify the date and time, to display the sorry page, Rules to return after a specified time)
教えて下さい。日付と時間を指定し、指定した期間のみプールを停止し、sorryページを表示するiRulesを記述したい。どう記述すれはいいですか?
Please let me know.
I want to describe the iRules to stop the pool only during the period specify the date and time you specify, to display the sorry page.
What I should write?
3 Replies
- nitass
Employee
is it same as this thread?
https://devcentral.f5.com/questions/2sorryyou-want-to-set-the-start-and-stop-of-the-sorry-page-across-the-day-2-days-or-more - gorugo13_132574
Nimbostratus
Similar but different. It does not describe the sorry page. I want to write a sorry page in iRules.
- Shun_Takahashi1Historic F5 Account
Basically, you don't need to disable pool but just iRule to generate response using [HTTP::respend] command within a specific range of time.
https://devcentral.f5.com/wiki/irules.HTTP__respond.ashx
If you need a "rich" sorry page, you can upload HTML, CSS, JS and PNG to BIGIP as iFile objects and call them from iRule.
https://devcentral.f5.com/wiki/irules.iFile.ashx
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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