Forum Discussion
pvaughan
Nimbostratus
Nov 20, 2013Need help with Irule to redirect based on http path or host header
I need to create an irule that will redirect traffic to a different pool bassed on the following criteria. The http path begins with /socket.io OR ((The http header 'Upgrade' contains the string 'We...
Thomas_Gobet
Nimbostratus
Nov 21, 2013Your last condition is not good. Default is only used when you use the "switch" parser instead of multiples if, elseif...
So you can replace default by else and it will work.
Remember that you don't need to use your last line with the else, because on your virtual server you can set a default pool.
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