Forum Discussion

Steve_Albrecht's avatar
Steve_Albrecht
Icon for Nimbostratus rankNimbostratus
Aug 01, 2017

Script throwing error

I am getting the following error in the logs every few seconds

 

TCL error: /Common/sfoitshortcuts - Operation not supported. Multiple redirect/respond invocations not allowed (line 3) invoked from within "HTTP::respond 301 location "https://www1.ucdenver.edu[class lookup $path sfoitshortcuts_dg]""

 

 

the script that is referenced is; hen HTTP_REQUEST { set path [string tolower [HTTP::path]] if { [class match $path equals sfoitshortcuts_dg] } { HTTP::respond 301 location "https://www1.thesite.edu[class lookup $path sfoitshortcuts_dg]" log local0."[$path]" break } } Anyone have any idea of what is wrong with the script?

 

Steven Albrecht University of Colorado Denver

 

2 Replies

  • The logic flow of all iRules associated with the virtual server must result in the execution of at most one

    HTTP::redirect
    or
    HTTP::respond
    command. Remember that processing will continue after one of these operations is performed, so it's likely that a previous iRule has already issued a redirect/respond command.