Forum Discussion
Jakub_Hornik_16
Nimbostratus
Jun 20, 2014URi based redirection only if pool members are available.
Hello everyone.
I am a newbie to iRules thus I apologize for any dumb questions in advance for foreseeable future. I have this iRule which does simple redirection based on URI:
when HTTP_REQUEST { ...
Jun 20, 2014
Hi!
My pleasure. :)
Yes, HTTP::uri "/" would suffice.
log local0. "Test" would log Test to the ltm log, just like you said.
To log to another file you'd have to fiddle with the syslog-ng config or, which is my favorite, use HSL (you need a syslog server for this):
https://devcentral.f5.com/wiki/irules.HSL.ashx
Here's an old post about configuring custom log files:
/Patrik
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