Forum Discussion
ekaleido_26616
May 02, 2016Cirrocumulus
Maybe try this...
when HTTP_REQUEST {
if { not ([HTTP::uri] starts_with "/abc") } {
pool normalpool
} else {
pool abcpool
}
}
- Mali47_261353May 02, 2016NimbostratusHi Ekaleido, This doesnt work and does not even allow to hit the default pool.. my original config allows me to hit the default pool and after words once I access the page im also able to hit the 2nd pool if using HTTP or HTTPS, The problem I have is when using a HTTPS VS and I try to hit https://domain.com/abc on the first try it doesnt work, it only works when I first access https://domain.com a nd then I am able to access https://domain.com/abc.. I think best way to test this is to setup using the config I posted above.. Thanks.
- ekaleido_26616May 02, 2016CirrocumulusOdd. I'm using that iRule , with slight modifications (I use /api instead of /abc and my pools are obviously not named "normalpool" and "abcpool") and it runs a production VIP for me today. What code version is your LTM running?
- Mali47_261353May 02, 2016NimbostratusI'm running BIG-IP 11.5.3 Build 2.10.196 Engineering Hotfix HF2, are you running SSL on your VS?