Forum Discussion
yairsh_310893
Nimbostratus
Apr 23, 2017Call an iRule from another iRule
Hey there
I'm trying to write an iRule that will do the following:
create an event that will match by the client source ip address and if i come from a specific source ip address range then th...
Ryan77777
Altocumulus
Apr 24, 2017Checkout the call function.
For example, I use one to call an HTML page when the server farm is in "maintenance" mode.
example_include.irule
proc display_page {} {
HTTP::respond 200 content {
HTML code to return herethen call it via the irule you have assigned to the VS.
main.irule
if { conditional_here } {
call example_include.irule::display_page
}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
