Forum Discussion
pvaughan
Jun 25, 2012Nimbostratus
cookie persistance Site affinity Irule help
Hey Guys and gals, need some help with an irule. I have been tasked with the following requirement and need to write an irule to accomplish this task.
We have 2 data centers with a gtm handing o...
hooleylist
Jun 25, 2012Cirrostratus
Hi,
You can check HTTP requests in the HTTP_REQUEST event for a cookie and value using [HTTP::cookie value $cookie_name]. You can send a redirect to a site specific hostname using 'HTTP::redirect "http://site2.example.com[HTTP::uri]'.
https://devcentral.f5.com/wiki/iRules.http__cookie.ashx
https://devcentral.f5.com/wiki/iRules.http__redirect.ashx
https://devcentral.f5.com/wiki/iRules.http__uri.ashx
Aaron
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