Forum Discussion
iRule for forwarding traffic based on header
I am very new to F5, I need help in sample irule to forward the traffic to specific web server based on header.
For e.g. there are two web servers W1 and W2. The request comes to Load Balancer will always have node header as W1 and W2, irule should read this header and forward the request to matching web server.
Regards, Mahendra
- crodriguezRet. Employee
I suggest you take a look at the examples you can find here: https://devcentral.f5.com/wiki/iRules.HTTP__header.ashx There are many, including for interrogating HTTP headers to determine which pool to load balance to.
Recent Discussions
Related Content
* 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