Forum Discussion

trx's avatar
Apr 30, 2013

operation not supported irule error

Hello Community,

 

I have this issue when having a 301 redirect, I get this error below:

 

TCL error: /Common/portal_url_erp_masking_v4_TRX_PROD - Operation not supported. Multiple redirect/respond invocations not allowed (line 292) invoked from within "HTTP::respond 301 Location "http://$host/erp/""

 

One, should I be worried about this error and two, how do I get rid of it?

 

Current IRules that causes this error:

 

.......

 

elseif { ([string tolower $uri] starts_with "/portal/system") or ([string tolower $uri] starts_with "/portal/console") or

 

([string tolower $uri] equals "/") } {

 

 

redirect to erp homepage user is trying to get to the admin console

 

 

HTTP::respond 301 Location "http://$host/erp/"

 

 

return

 

 

}

 

...

 

 

Thanks in advance.

 

 

TRX

 

No RepliesBe the first to reply