Forum Discussion
hooleylist
Feb 08, 2011Cirrostratus
Here are a few articles and man pages for the various commands:
How to Write Fast iRules
http://devcentral.f5.com/wiki/default.aspx/iRules/HowToWriteFastRules.html
switch TCL and Devcentral man pages
http://www.tcl.tk/man/tcl8.4/TclCmd/switch.htm
http://devcentral.f5.com/wiki/default.aspx/iRules/switch
if TCL man page:
http://www.tcl.tk/man/tcl8.4/TclCmd/if.htm
string TCL man page:
http://www.tcl.tk/man/tcl8.4/TclCmd/string.htm
'string tolower $my_string' returns the $my_string value in lower case. It's used primarily for doing case insensitive comparisons. HTTP paths in IIS are not case sensitive. Host names should always be treated as case insensitive for any application platform. I assume with servlets that you're not on an IIS platform. If you're on a Java based platform, you should be able to leave the case alone and use a case sensitive comparison.
If you have 'port translation' enabled on the virtual server properties, LTM will translate the destination port from the virtual server port to the pool member port. This is enabled by default on all but port 0 (any) virtual servers.
Aaron