Forum Discussion
Jul 24, 2011
One thing I am having trouble with is the format of the external file. does anyone know how to write the rule so that only the exact match to the file is sent. Certain sites start similar , such /it and /italian. Wondering how the file can be written to pick the exact phrase I specify?
In this case it's not how the class/datagroup is written exactly, but it's the operator... You're using "starts_with" so your /it is going to catch /italian as wel.. try "equals"..
Check out a list of valid operators in part 2 of iRules 101.. and while you're at it, check out all the lectures in the series... They are very informative and really put the pieces together..
http://devcentral.f5.com/Tutorials/TechTips/tabid/63/articleType/ArticleView/articleId/124/iRules-101--02--If-and-Expressions.aspx