Forum Discussion
Mali47_261353
Nimbostratus
Apr 28, 2016uri forwarding to a pool on an SSL Virtual server
Setup
2 Virtual Servers
- one on port 80 redirects to https virtual server, clientssl is applied on this virtual server, http profile.
Redirect anything starting with /abc to pool mypool
-iRule ...
ekaleido
Cirrus
May 02, 2016Maybe try this...
when HTTP_REQUEST {
if { not ([HTTP::uri] starts_with "/abc") } {
pool normalpool
} else {
pool abcpool
}
}- Mali47_261353May 02, 2016
Nimbostratus
Hi 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. - ekaleidoMay 02, 2016
Cirrus
Odd. 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, 2016
Nimbostratus
I'm running BIG-IP 11.5.3 Build 2.10.196 Engineering Hotfix HF2, are you running SSL on your VS?
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