Forum Discussion
Patrick_McGlyn1
Nimbostratus
Jun 15, 2010Application migration iRule
I am trying to write an iRule to migrate applications from an old web farm pool to a new web farm pool. The web servers are setup to run multiple
application instances on the same IP and Port.
F...
The_Bhattman
Nimbostratus
Jun 15, 2010Made a correction on the code
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri] {
"/psp/app*" {
pool new_server_pool-8001
}
default {
set redirectapp [findclass [string tolower[HTTP::uri]] $::redirectapp " "]
if {$redirectapp ne "" } {
HTTP::redirect "http://www.domain.com/$redirectapp"
}
}
}
}
Bhattman
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