Forum Discussion
AlfaSpider_3544
May 04, 2012Nimbostratus
irule for virtual server to redirect to different pool
Well.....This doesn't work. Any help would be much appreatiated.
when HTTP_REQUEST {
if { [HTTP::uri] contains "mywebsite.com/util" } {
pool my-util-pool
} }
...
AlfaSpider_3544
May 04, 2012Nimbostratus
I'm sorry for so many questions....I'm an irule dummy.
Does this look right?
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::host][HTTP::path]] {
"*seattle.gov/util*" } {
pool spu-util-pool
}
}
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