Forum Discussion
Aug 18, 2009
IRule syntax
Hello All,
Does anyone know any good websites IRule syntax, etc?
Please let me know.
Any help is fully appreciated.
Thank you.
Regards,
TRX
4 Replies
- dennypayne
Employee
I suspect you are looking for external sites, of which there may be some, but I thought I'd just point out the iRules Reference page here on DevCentral, since it's not a really obvious link from the wiki.
http://devcentral.f5.com/wiki/default.aspx/iRules/iRulesReference.html (Click here)
I actually think this page ought to be more prominently linked...I use it all the time anyway...
Denny - hoolio
Cirrostratus
In addition to Denny's suggestion, here are some related links:
http://devcentral.f5.com/Default.aspx?tabid=53&forumid=5&tpage=1&view=topic&postid=13982
Aaron - Thanks guys! Another question, does anyone know what the correct syntax is for the logic
"if URI does NOT START WITH ....."? It seems that the IRule editor does NOT like "NOT START WITH"
and treats it as a syntax error. Any tips?
Thanks!
Regards,
TRX - You would just use a ! operator before the comparison.
if { !([HTTP::uri] starts_with "/foo") } { do something... }
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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