Forum Discussion
May 29, 2007
I've corrected your iRule in your previous post (there were some formatting issues that caused the post to not display so I had to correct those anyway.
When calling HTTP::redirect, you should not enclose the call in brackets. Command that you expect to issue immediately and return a value (ie, HTTP::host), you'll enclose in brackets to indicate to the TCL interpreter that that command is to be evaluated immediately. This of it like a "get" accessor command. But, for all other commands, you should not surround in brackets.
So, I've removed the brackets from your HTTP::redirect commands which should cause the correct redirects to be sent back to the client.
-Joe