Forum Discussion
Hosted Web Pages on BIGIP F5
Is it possible to display pictures for a custom webpage on the F5? I am trying to see whether it is possible to have a "normal" webpage with pictures hosted on the F5. This is not for maintenance windows etc. but the intent is more for custom tools that our users have, we can reference Help files while the user is external for the application. I have been able to get a basic HTML file running by utilising an iRule and an iFile but trying to do some basic HTML presentation with pictures.
My test iRule is basically
when HTTP_REQUEST { if { [HTTP::uri] contains "/hellof5"}{ HTTP::respond 200 content [ifile get F5HelloTest] "Content-Type" "text/html" } }
I have an iFile in the LTM configuration that references an imported HTML document that is stored under File Management / iFile.
1 Reply
- Lucas_Thompson_Historic F5 Account
You've put an "APM" tag on this question: APM does have this Hosted Content capability.
For LTM only, it's a little more involved, but you've got the idea already. Just do the same thing with the rest of the page resources.
..Or be extra tricky and embed the images and HTML into one HTML document (I think all browsers support that nowadays):
http://stackoverflow.com/questions/1207190/embedding-base64-images
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