Forum Discussion
HarshaPotharaju
Dec 01, 2017Nimbostratus
Solution: Create a F5 Maintenance Page with Image (iRule/iFile) - A step by step procedure.
I have read many articles, questions and solutions to create a maintenance page and publish that page with an image when all members in a pool are down, I found it is not that easy, So I would like t...
PeteWhite
Oct 08, 2018Employee
You want to create an internal datagroup called maintenance and add the filename as a key and the base64 string as the value.
when HTTP_REQUEST {
set image [class match -value -- [URI::basename [HTTP::uri]] equals maintenance]
if { $image != "" } {
HTTP::respond 200 content [b64decode $image]
}
}
I suspect that you would have to set the Content-Type header correctly so that the browser can interpret the file correctly.
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