Forum Discussion
SSHSSH_97332
May 18, 2012Nimbostratus
ASM IRule to associate to a Class
i want to check sourec IP of a client , if it is X.X.X.X then assign HTTP Class X , else assign HTTP Class Y . what is the needed IRule ?
George_Watkins_
May 19, 2012Historic F5 Account
SSHSSH,
To my knowledge you cannot assign HTTP class profiles from within an iRule. "Hosts" are one of the parameters that you can match on when assigning an HTTP class. You could use the PROFILE::httpclass command to identify the assigned HTTP class and take action in your iRule, but the command is read-only. Could you write an iRule that uses a data group to store the IP addresses and outcomes for your clients?
-George
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