Forum Discussion
Joanna_41630
Nimbostratus
Mar 07, 2013iRule redirect and specify what Pool to go to
Hello -
I am trying to create an iRule to redirect "mypage.mycompany.com" to www.mypage.mycompany.com and also determine what pool it will be going to depending on the URI.
I...
Michael_Yates
Nimbostratus
Mar 07, 2013Hi Joanna,
I'm assuming that you have more than one FQDN pointed to the same Virtual Server. In that case couldn't you do something like this...
when HTTP_REQUEST {
if { [HTTP::host] equals "www.mysite.mycompany.com" } {
pool http_pool
}
else {
pool some_other_pool
}
}
Or do you just have one FQDN pointed to the site and you want to route totally based on the HTTP::uri?
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