Forum Discussion
mikeshermanit_2
Nimbostratus
Aug 30, 2016How to use iRules to switch between pools?
My Goal:
Add an iRule to switch the pool to PoolDevCCELegacy if the URL includes:
/svc/CCEUserMonitor.asp
I have two virtual servers sharing the same IP but with different service pro...
Vijay_E
Cirrus
Aug 30, 2016- Are you terminating SSL on the F5 for VS:443 ?
- What ports are the pools configured to listen ?
- Can you execute a curl command post the output for the relevant uri ?
If the iRule is attached only to VS:443 and you want the traffic to go to the pool for VS:80, you can try to redirect but then again, it depends on other configurations like the one on the server:
when HTTP_REQUEST {
if { [HTTP::uri] contains "/svc/CCEUserMonitor.asp" } {
HTTP::respond 301 Location "http://virtual server/svc/cceUserMonitor.asp"
}
}
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