Forum Discussion
AliMack85_11443
Apr 29, 2013Nimbostratus
Error page iRules
I have recently been tasked with maintaining an F5 implementation and i am looking into how to develop iRules for error pages (maintenance, 404 etc).
My issue is that instead of having the html ...
Kevin_Stewart
Apr 29, 2013Employee
Take a look at this recent thread:
https://devcentral.f5.com/community/group/aft/2166746/asg/502276717
Ideally you want to include the Content-Type header in the HTTP::respond command that pulls the ifile for display.
ex.
HTTP::respond 200 content [ifile get myuflheaderborder.jpg] "Content-Type" "image/jpeg"
Otherwise you use the same process for uploading images to ifiles as you do for text/html files.
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