Forum Discussion
Patrick_McGlyn1
Jun 15, 2010Nimbostratus
Application 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
Jun 16, 2010Nimbostratus
Made 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
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