Forum Discussion
Bryan_38320
Nimbostratus
Jun 11, 2010access irule name from inside the irule
I have the need to use the name of an irule in the rule itself.
For example:
if { irule_name contains "bob" }
log local0. " bob's rule"
}
(I realize there is...
Bryan_38320
Nimbostratus
Jun 14, 2010I have a customer that has a number of URL's that all essentially serve the same site but with different content based on the url. They have asked to have 4 virtual servers and a unique pool for each site. I would have preferred to do the pool selection in a single irule, but they require a unique irule per site.
My idea was to include the site name as part of the irule name and use that to make the pool selection, just copying the irule N number of times changing the name instead of coding the site name into 40 different irules.
Thanks very much for the input.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
