Forum Discussion
Malcom_Sargla_6
Nimbostratus
Oct 12, 2007Simple Http Redirect.. double 'IF' statement
Dear Central..
I am very new to Irules and really could use some assistance with one that I am working on.. again very new so I do apologize in advance if this is very basic.
1) Cl...
Colin_Walker_12
Jan 08, 2008Historic F5 Account
The string tolower command takes whatever information you pass it, HTTP::uri in this case, and turns it into lowercase for the duration of the comparison that's being made.
This means that you can be assured that you're never going to have a mis-match because someone typed "/Pfs" or "/pFS" instead of "/pfs". The web-server might recognize all permutations, but your iRule would fail without the string tolower section.
This command will not, however, have any effect on what the back-end web-servers see. The change is only made for the sake of the comparison in question, and never actually modifies the traffic.
Hope This Helps,
Colin
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