Forum Discussion
2 Replies
Sort By
Something like below, you can club few status code with OR operator too if to combine,
when HTTP_RESPONSE { if { [HTTP::status] == "400" } { HTTP::respond 200 content "..." } elseif { [HTTP::status] == "403" } { HTTP::respond 200 content "..." } elseif { [HTTP::status] == "408" } { HTTP::respond 200 content "..." } elseif { [HTTP::status] == "500" } { HTTP::respond 200 content "..." } elseif { [HTTP::status] == "502" } { HTTP::respond 200 content "..." } elseif { [HTTP::status] == "503" } { HTTP::respond 200 content "..." } elseif { [HTTP::status] == "504" } { HTTP::respond 200 content "..." } }
- youssef1Cumulonimbus
Hi,
We manage the same thread:
https://devcentral.f5.com/questions/f5-migration-from-ha-proxy-61356answer157703
I gave an complete example. it can help your.
Regards