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...
nitass
Employee
Jun 24, 2013can 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"
}
}
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