Forum Discussion
cwat_115731
Nimbostratus
Jun 24, 2013json & jpg in irule
Hi,
target : make a maintenance page by the F5.
I have a maintenance page on json language. I try to make an irule in differents ways but it doesn't work :
- by stream::expr...
cwat_115731
Nimbostratus
Jul 01, 2013Posted By nitass on 06/24/2013 06:16 AM
can you try this?
when HTTP_REQUEST { if { [active_members [LB::server pool]] < 1 } { HTTP::respond 503 content [ifile get my_json_file.json] "Content-Type" "application/json" "Cache-Control" "no-cache" } }
Hi,
It seems that the right way. The code is display by a specific application.
Thanks for support 🙂
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