Forum Discussion
marco_octavian_
Nimbostratus
Scratch that first irule. It was untested and has flaws. I agree with Jie about the no-cache. Give this one a try.
when HTTP_REQUEST {
if { [active_members [LB::server pool]] == 0 } {
HTTP::respond 400 content "
Bad Request page
400 - The request could not be understood by the server due to malformed syntax.
" Cache-Control No-Cache Pragma No-Cache"
}
}
Kiran_Kumar
Sep 07, 2013Nimbostratus
Marco,
Thanks very much for your solution. Could you please advise how to make sure that the client doesnt know that its my F5 that sends this message. In other words, I dont want the client to be aware of my F5, can we put some dummy server name. If so how do we get it accomplished as part of the above solution. I am new to F5 iRule coding, so need your help if you have any suggestions. Thanks again for you and all the friends who responded to my question.