Forum Discussion
teguh_wilidarma
Feb 07, 2011Nimbostratus
iRule HTTP redirection - one server multiple instance
Hi, I was digging through this forum and found several similar cases like mine, but I am still very newbie on how iRule commands interact with VS and pool member selection. Moreover, I havent managed ...
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
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects