Forum Discussion
William_Them_99
Nimbostratus
Jun 03, 2005Problems declaring a class datagroup
I am trying to declare a datagroup as a class within my iRule. I am not having any luck, even with an example class I found in a post.
I tried doing this:
class images {
".gif"
".jpg"
}
when HTTP_REQUEST {
....
}
and I get this error when I try to save the iRule:
line 9: [undefined procedure: class] [class images {
".gif"
".jpg"
Can anyone help?
Thanks.
2 Replies
- This is a common mistake. When posting iRules, some users will include the entire code from the /config/bigip.conf file. This is the configuration that is generated by the gui. Some users are more comfortable working in this environment.
- No problem. Let us know if you have any other iRules or iControl related questions and we'll do our best to give you some assistence.
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