Forum Discussion
Neil_Harbaruk_1
Nimbostratus
Aug 01, 2006iRule for https:URL:<port>/URI
I am looking for a script to forward based on any combination of URL:/URI.
e.g. https://web1.whatever.com:8081/money --> pool1
https://web1.whatever.com:8081/coins --> pool1
...
hoolio
Cirrostratus
Aug 02, 2006The rule would be the same for HTTP or HTTPS, as BIG-IP will need to decrypt the traffic to read the host for the request.
If you need to evaluate both the host and the uri, I think the most efficient way to do it would be to use nested switch statements. I'm not sure whether that's possible with TCL though. If it's not, you could use if/else-if's for the host and then nested switches to check the ports.
Aaron
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