Forum Discussion
PacketHead_4009
Dec 14, 2011Nimbostratus
Simple 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 ...
hooleylist
Dec 14, 2011Cirrostratus
Hi 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
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