08-Oct-2020 12:01
Hello,
I have an ASM policy applied to a virtual server. The ASM policy is configured to block HTTP 500 response codes.
I would like to write an irule that would allow HTTP 500 to be returned to clients that are in a pre-defined Data group list.
when HTTP_RESPONSE
{
if { [HTTP::status] eq "500" }
{
if { [class match [IP::client_addr] equals DATA_GROUP_LIST] }
{
commands to allow HTTP 500 response
}
}
I'm actually trying to figure out if this is even possible. or are response codes all-or-nothing when enforced via an ASM policy?
Any help would be greatly appreciated.
Thank you.
Chris
Solved! Go to Solution.
09-Oct-2020 16:05
Hello Chris,
There is no way to unblock response, but I think you can disable ASM in this case via ASM::disable command.
Thanks, Ivan
09-Oct-2020 16:05
Hello Chris,
There is no way to unblock response, but I think you can disable ASM in this case via ASM::disable command.
Thanks, Ivan
12-Oct-2020 03:55
Thank you, Ivan. I thought this would be the case, but I appreciate you taking the time to confirm 😊