Forum Discussion
Danielseyoum
Jan 23, 2008Altostratus
Calling another iRule from with in an iRule
I am inspecting the header for cookie and would like to direct the request accordingly. If cookie is not there the landing page will issue the cookie according to the user's choice of department. By t...
hooleylist
Jan 24, 2008Cirrostratus
You can't call one rule from another, but if you add both rules to the VIP, they'll both be evaluated. One thing to be aware of is that you don't want to try to redirect a request multiple times, so make sure that only one of the switch conditions will be true per request.
You could also consider combining the two rules into one and then add logic to ensure only one condition will be true. If you want to stop further processing of the event you're in, you can use the return command.
I'm not too clear on what relationship, if any, there is between the cookie and the URI or I'd give you an example.
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