Forum Discussion
HTTPS URI Redirect
I want to be able to redirect HTTPS traffic from specific URI's to certain pool member's, I cant seem to find any information on redirecting HTTPS traffic, any help would be great.
5 Replies
- Josh_B_152229
Nimbostratus
Check out this post where someone was selecting pool members based on the requested URI.
when HTTP_REQUEST { switch -glob [string tolower [HTTP::uri]] { "/uri_1" { pool poolname member 10.10.10.1 443 } "/uri_2" { pool poolname member 10.10.10.2 443 } default { pool default_pool_name } } }- ajemery9_179076
Nimbostratus
Thanks for the info, I was actually able to get this to work using a policy. - Josh_B_152229
Nimbostratus
It's encouraging for me to hear that you are able to use a policy for this. I gave up on using policies at all after walking through [SOL14996](https://support.f5.com/kb/en-us/solutions/public/14000/900/sol14996.html) on a WebEx with F5 support and it completely failing to work at all.
- Jason_40733
Cirrocumulus
Keep in mind you must be terminating the SSL connection to be able to see the URI.
- amolari
Cirrostratus
there shouldn't be an irule specific for HTTPS (but should/can be the same for HTTP and HTTPS Virtual Servers). The VS is specific for HTTPS (port, client ssl profile). The iRule is then applied to the specific VS.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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