Forum Discussion
strongarm_46960
Nimbostratus
Dec 10, 2008Local Apology HTML & Embedded logos
I have noted that it is possible send back HTML pages to clients via iRule during pool failure etc. I would like to embed images within this page.
It would be ideal to embed local images and have iRule point to it as a default fall back incase all pools fails, i.e. send an apology page with embedded company logo and such. It’s important to host this page and its images locally on the LTM.
I suppose a way around will be to simply host those images on an external ISP and reference them within the page. The next trick is to convince the managers.
2 Replies
- hoolio
Cirrostratus
Hi jquadri,
You can serve binary content, including images, from LTM. The downside is that they are loaded in memory at all times, so it takes resources away from load balancing and managing traffic. There are a few examples of this in the iRules codeshare (Click here). The rules have maintenance in the name.
It would be require less memory if you hosted the images externally and just referenced them in HTML sent back from an iRule. Even more efficient would be to use the fallback host functionality on the HTTP profile. This allows you to send the client a redirect to another URL if the pool isn't available.
Aaron - strongarm_46960
Nimbostratus
Thanks man, I hope you don’t mind if I quote you to my managers
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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