Forum Discussion
dk_01
Nimbostratus
Sep 08, 2016Adding logging to Redirect Irule.
I have an Irule that I wrote to perform redirect when pool becomes unavailable. I am trying to insert some logging because when we are seeing users still accessing old URL when site is unavailable. ...
The_Y
Cirrus
Sep 08, 2016I believe this will help
HTTP_REQUEST { if { [HTTP::host] equals "web1.com" }{ if { [active_members web_pool] equals 0 } { HTTP::redirect "
log local0. "Client IP Address [IP::client_addr] has been redirected"
}
} }
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