Forum Discussion
ucirl_161922
Nimbostratus
Jul 23, 2014irule not being executed
Hi,
I have an HTTP_REQUEST irule which if a hostname contains a certain URL, it will go to a specified pool. We have it set for 2 hostnames at the moment:
when HTTP_REQUEST {
set hostname [...
ucirl_161922
Nimbostratus
Jul 24, 2014Hi, Just to update. I'm only new to irules and irule logging so I'm learning as I go so forgive me for above misunderstanding. I think I misunderstood what a URI actually meant. I have since modified the irule to check the requestURI rather than the hostname and it now works. I added in a log to check what the actual hostname was. It was xxx.xxx.xxx therefore I deduced it wasnt meeting the condition so changed it to requestURI. It is now working as expected. Thanks so much Gabriel V. You pointed me in the right direction.
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