Forum Discussion
Richard_Kim_270
Nimbostratus
Jan 17, 2007Two iRules one Virtual server
Ok so I have a iRule that does the following:
when CLIENT_ACCEPTED {
set default_pool [LB::server pool]
}
when HTTP_REQUEST {
if{ [matchclass [string tolower [HTTP::u...
Richard_Kim_270
Nimbostratus
Jan 17, 2007
This is what I have so far:
when CLIENT_ACCEPTED {
set default_pool [LB::server pool]
}
when HTTP_REQUEST {
if{ [matchclass [string tolower [HTTP::uri]] starts_with $::Report_strings_matchclass] } {
pool custom_pool
} elseif { [matchclass [string tolower [HTTP::uri]] contains $::image_strings] } {
pool image_pool
}
else {
pool $default_pool
}
}
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
