Forum Discussion
Aldo_Ivan_3148
Aug 24, 2011Nimbostratus
Problem with style sheets ccs
Hi everyone! I'm new in this forum and i have a problem with balance servers.
I have an application that use style sheets ccs and html, and the F5 balance a pool of servers with the same inf...
hooleylist
Aug 30, 2011Cirrostratus
Hi Aldo,
A switch statement should be more efficient and simpler to administer. I've added a bit more logging as well. Can you try testing this iRule and see whether the CSS requests are being sent to the correct pool?
when HTTP_REQUEST {
log local0. "host = [HTTP::host]"
log local0. "uri = [HTTP::uri]"
log local0. "path = [HTTP::path]"
switch -glob [HTTP::uri] {
"*/ProductManager*" -
"*/LRImage*" -
"*/servlet*" -
"*/QS*" -
"*/svgStore*" -
"*/\\?activity*" {
log local0. "Seleccion de Pool Product Manager for [HTTP::uri]"
persist source_addr
pool pool_pm
default {
log local0. "Seleccion de Pool Digital Imaging for [HTTP::uri]"
persist none
pool pool_di
}
}
}
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