Forum Discussion
Anthony_Hatch_3
Nimbostratus
Apr 01, 2011iRule Syntax Requirement for Data Group Names
Today we received the following error on our LTM: err local/tmm3 tmm3[7053] 01220001 TCL error: rewrite_mstatic-irule - ambiguous option "-": must be -all, -index, -element, -name, ...
Anthony_Hatch_3
Nimbostratus
Apr 04, 2011Thanks for your assistance Aaron! Implementing this change has resolved the issue. My statement now reads:
if {[class match -- [string tolower [HTTP::header User-Agent]] contains {non_mobi_ua}]}
I do have a question though, going back to that article (SOL10745). In your experience, if you had DG entries that contained special chars, would you still enclose the DG reference in curly braces like in my above example? It seems like this would be best practice in accordance to what f5 support says in the article, but in the scenarios I ran through previously, it didn't seem to matter anyway. Granted, the example wasn't using a string type, but also didn't say it was restricted to an address type either. Maybe I'll try and test a little more thoroughly this week.
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