For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

trx's avatar
Apr 14, 2018

Operation not supported. Multiple redirect/respond invocations not allowed

Hello Community, I had a multiple redirects question. When you have 1 or 2 IRules that have multiple if conditions to redirect URLs and if each redirect has a "return", shouldn't the "return" prevent the rest of the IRules/if conditions from being executed?

 

ex) WHEN_REQUEST {

 

if(x true) { redirect x return }

 

if(xy true) { redirect xy return }

 

}

 

Error: TCL error: /Common/IRules - Operation not supported. Multiple redirect/respond invocations not allowed (line 15) invoked from within "redirect xy"

 

Let me know how I can achieve just having the redirect return at the "redirect x".

 

Thanks!

 

No RepliesBe the first to reply