Forum Discussion
DannyF_69324
Aug 19, 2011Nimbostratus
Hey Bhattman,
I tried the iRule you suggested, but I'm getting an error. Seems as if there is an open bracket missing somewhere but I'm not very familiar with TCL so I can't really find the place. The error I'm getting is
error: line 3: [parse error: extra characters after close-quote] [- "/help/" { HTTP::header replace Location "https://helpsite.com/help" Pool pool_helpsite snat automap } ] line 4: [undefined procedure: /help/] ["/help/" { HTTP::header replace Location "https://helpsite.com/help" Pool pool_helpsite snat automap }] line 10: [command is not valid in the current scope] [}]
I replaced the variables with my own, but for the example posted above I used the same variables in the sample iRule.
Thanks for the help.