Forum Discussion
PacketHead_4009
Nimbostratus
Dec 13, 2011Simple iRule with Sticky?
Hello, I'm trying to create what I think is a fairly simple iRule: when HTTP_REQUEST { if { [HTTP::uri] contains "/sites/tech*" } { pool Tech_Web_Pool_80 ...
hoolio
Cirrostratus
Dec 13, 2011Hi James,
You might be able to check the Referer header to see if the request came from a /sites/tech request:
when HTTP_REQUEST {
if { [HTTP::uri] contains "/sites/tech" or [HTTP::header Referer] contains "/sites/tech" } {
pool Tech_Web_Pool_80
} else {
pool Main_Web_Pool_80
}
}
If that doesn't work, the simplest fix from an LTM perspective would be to modify the app versions to use content from separate directories.
Aaron
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