Forum Discussion
Supahoopsa_8892
Nimbostratus
Jun 10, 2011IRule not working - sytnax error or something else?
I have tried writing my first iRule to check the url of my site and then depending on which site the user is attempting to access, I then check a list of approved IP addresses.
If t...
hoolio
Cirrostratus
Jun 10, 2011If you're on 9.4.4 or higher you should remove the $:: prefix from the datagroup name. It will demote the iRule from CMP in any version, but won't work at all to access the datagroup in v10+:
http://devcentral.f5.com/wiki/default.aspx/iRules/CMPCompatibility.html
For 10.x you should also change from matchclass to the class match command for better efficiency:
http://devcentral.f5.com/wiki/default.aspx/iRules/class
Aaron
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
