Forum Discussion
Jay_Christopher
Nimbostratus
Jan 26, 2006Using an iRule to create an access control list.
Is it possible to put a list of regular expressions into a data group and use an iRule to evaluate them against a URI.
I am thinking it would look something like this:
wh...
Colin_Walker_12
Feb 01, 2006Historic F5 Account
While this might be possible, I would think there would be quite a large performance penalty. Whenever you're talking about running a single regex, you're dealing with a fair amount of overhead, let alone multiple regexes on every incoming HTTP request.
In any event, I believe it would be possible, but you'd have to create a loop in the rule to step through each member of the data group and test that against the URI individually, then move on to the next one. The matchclass command wouldn't get you there.
-Colin
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