Forum Discussion
Natalia_Wolosec
Aug 01, 2011Nimbostratus
Irule for rerouting to different pools
Hi All,
I currently have an in production virtual server on my F5 which also has a SSL certification. My organisation would like to be able to use the same URL to take advantage of the certificate, but to reroute to another pool of test servers which using a /test on the url.
So for example www.example.com to go to the existing pool members (poollive) and www.example.com/test to go to a new test pool of members (pooltest)
I've created an irule to try to get this to do this procedure.
Can anyone confirm if this irule is correct, or needs some additional work.
when HTTP_REQUEST {
if { [HTTP::uri] contains "test" }
pool pooltest
}
else {
pool poollive
}
}
Can someone advise if this would be correct?
Thanks,
- Natalia_WolosecNimbostratusThis doesn't seem to be working.
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